I would like to have a cube that is colored but also is affected by a Directional Light
I see that Lighting.j3md has setColor(“Diffuse”, color);
and was hoping it behaved the same way as
Common/MatDefs/Misc/ColoredTextured.j3md
this.getMaterial().setColor(“Color”, color);
but I cant seem to get Lighting.j3md to use anything besides its setTexture(“DiffuseMap”, texture);
Can anyone tell me what I am doing wrong?