Hi Guys,
I noticed that the default jME lighting shader has support for attenuation with a define. But there is no parameter to set the define.
I added ‘Boolean Attenuation’ to MaterialParameters and it works fine, is there something I’m missing?
The define is declared by default
So if a parameter doesn’t exist the define is a default define?
When I had a look at the source it seemed that it was only a default define if it didn’t have a colon after it Maybe I read something wrong.
Its declared in the shader
Oh line 2… wow, thanks haha.