[Implemented] setting shader variables inside PB-program
Posted: Wed Apr 06, 2011 4:06 pm
Hello,
I'd like to specify shader variables (attribute is already there through AddMeshVertex/SetMeshData but the rest - uniform, varying - is missing) inside the purebasic code. Its essential for making games. And beside this I want a
Which does something similar to this inside a material script (binding a shader source to a material): http://www.ogre3d.org/docs/manual/manual_18.html#SEC104
Regards,
Daniel
I'd like to specify shader variables (attribute is already there through AddMeshVertex/SetMeshData but the rest - uniform, varying - is missing) inside the purebasic code. Its essential for making games. And beside this I want a
Code: Select all
SetMaterialShader(#Material, Shader.s, Type.i)
Regards,
Daniel