I define some preprocessor options for a GLSL shader using preprocessor_defines like so:
Code: Select all
vertex_program UnitShader_WithBones_VS glsl
{
preprocessor_defines ENABLE_BONES,NUM_BONES=4
}
Thanks, I really appreciate any and all help!
Code: Select all
vertex_program UnitShader_WithBones_VS glsl
{
preprocessor_defines ENABLE_BONES,NUM_BONES=4
}