I asked this:
Quote: "I like the shader support which is generally good and clear but I'm not sure of the best way to emulate the concept of shader techniques which I used to use extensively in DBPro. I can see two obvious options: one is to write a separate shader for each one and just switch shader when I need a different technique; a second option is to use a Boolean flag or flags to switch in the shader itself. Can someone give me advice on the best way to go? For example, is there a more direct option that I have missed?"
It should be clear that I was asking about switching between OpenGL shaders in AppGameKit not between HLSL and GLSL shaders which is obviously a non-starter. Anyway, we seem to be agreed on one way to go. So I'll see how it turns out.
In case there's any more confusion, I inadvertently posted this thread using my other account (Scorpius). I'll have to be more careful as I've done that a few times recently
.
Quote: "Good luck though, sure you'll suss it out."
Thanks. I hope so.
Green Gandalf of the TGC forums aka Scorpius of the Malevolence:Sword of Ahkranox forums.
Shader developer for Evochron Legacy produced by StarWraith 3D Games.