ActionScript 3.0 :: Context3D SetProgramConstants?
Feb 15, 2012point to documentation on how to use this in respect to loading a Material with Ka Kd Ks Ns and Tr as OBJ material.
View 4 Repliespoint to documentation on how to use this in respect to loading a Material with Ka Kd Ks Ns and Tr as OBJ material.
View 4 RepliesJust querying if is it possible to mix normal sprite with Context3D object.
View 8 RepliesIf I make multiple draw calls for various Program3D instances, is there a way that I can reset or nullify the constants if I'm no longer using them in the next following Program3D assignment?
Is it even necessary that I do something like this?
//Nullify 'vc0' in the vertex shader:
context3D.setProgramConstantsFromVector("vertex", 0, null);