Hi,
If I have a class as of such:
public class Entity
{
bool lightUp;
...
}
Is there a way I can pass the lightUp property to the vertex shader which would then pass this onto the fragment shader?
So in fragment shader could test if lightUp is true and if so, light the texture up?
Many thanks for any advice