In the tutorials, there's an example of defining and using a shader within the config files. How would one go about doing so in code?
For example, suppose we have two shaders respectively named SA and SB defined in config files. How would I go about loading and alternating between them?
shaderA = orxShader_CreateFromConfig("SA");
shaderB = orxShader_CreateFromConfig("SB");
Beyond that, I'm not entirely sure. I'm rather new to shaders, and while there are nice tutorials out there on how to write GLSL, I'm still at a loss sometimes as to how to actually activate them.
Oh, and is there a straightforward way to determine whether a user's computer actually supports shaders? I imagine simply trying to load/enable one and checking the results might do the trick.