Toggle shadows,shaders (GLSL Material settings)

Hello.
I really need to make a video graphics details menu for game,but i cant.
Blender wont toggle, wont disable shadows nor shaders using bge.render(setting,false/true).
To mention that i use a custom build (harmony) the only one thst actually works like it should, official blender release wont even export a runtime (pffft).

Thanks!

not important.

I think on many Games this would be the Opportunity for a Loading Screen. (However, several Minutes? nah…)

not important

Hello.
I really need to make a video graphics details menu for game,but i cant.
Blender wont toggle, wont disable shadows nor shaders using bge.render(setting,false/true).
To mention that i use a custom build (harmony) the only one thst actually works like it should, official blender release wont even export a runtime (pffft).

Thanks!

Blender 2.61 Will export a runtime - i did the other day :smiley:

it does exports but the runtime wont play, i got a error.

What error did you get?

I hope the Harmony branch will allow this.

It doesn’t even matter, I don’t like the official build because of animation bugs and ugly shadows, I guess harmony won’t change material settings for now.
The error is is telling something about runtime (can’t remember, not at pc).

Well, if the Harmony build’s solved the issue, then that’s good. I kind of like the shadows in the official build. They seem to have gotten better over time (seem a little softer than before). Hopefully the soft and alpha shadows build and the Harmony build will be merged with Trunk soon. I agree with LaH - it would be nice if it allowed you to change these lighting settings. I thought that you could already, but maybe not.

The soft and alpha shadows(the old one) wont be implemented very soon due the performace, but VSM (harmony brach) are much better and faster, no alpha shadows tho.

Even the official build wont turn on or off shaders,shadows etc via python, whats wrong here?

Currently the game engine is still using a forward renderer. If you wish to turn off the shadows it would basically have to save the game’s state and restart the engine.

Ah, so that means that all Python commands to change those things would require that you restarted the game to see the effects. Not a huge deal, since you can go back to the options menu after restart (and so not make it look like it just restarted the whole game).

Before these branches it worked while in game… Blender 2.6 has some bugs I think…