GLSL switch

is there any way to change GLSL or multitexture mode with blenderplayer startup parameters or in game?

Hi, I don’t see a startup parameter to change the material mode. But it is possible to change the mode with a Phyton script. But the scene must be reloded.

Attachments

Mode.blend (132 KB)

The following disables GLSL Materials:


blenderplayer -g blender_glsl_material = 0 myblend.blend

I’m not sure if this forces it to Texface or Multitexture. Here is a similar flag for Multitexture


blenderplayer -g blender_material = 0 myblend.blend

hey. thanks i will try this when i’ll have time :smiley: