yin / yngine

Automatically exported from code.google.com/p/yngine
0 stars 0 forks source link

Control lighting and textures in shaders from OpenGL #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Default shader program should check OpenGL state before calculating lighting 
and using textures. This way shaders could be controled by calling glEnable() 
and glDisable(). Instead, default shader program just ignores states.

Original issue reported on code.google.com by yinotaurus on 10 Dec 2010 at 7:58

GoogleCodeExporter commented 8 years ago
This one will be addressed by next changes to the new shader system. Light can 
be controlled easily, but with textures, we can use uniforms to control shaders.

Original comment by yinotaurus on 13 Feb 2011 at 10:02