Hello everyone,
I was wondering if I can turn off and on GLSL shading options in game. I want to apply these options for slower computers where they can turn off shadow, ramp, shaders, lights ,etc. I don’t think I can access this data in game?
Try to use this, I don’t know if it work on newer versions (I just use it one time, and it was only a test).
Yes it works 2.72 too
import bge
#lights, shaders, shadows, ramps, nodes and extra_textures
bge.render.setGLSLMaterialSetting('shadows',False) #Set shadows True of Flase
bge.render.setGLSLMaterialSetting('nodes',False) #Set nodes True of Flase
Wooo ho thanks