Game Development Community

Real stoopid question (shadrConsts)

by Kevin Johnson · in Torque Game Engine Advanced · 01/12/2005 (7:33 pm) · 4 replies

If i manage to hack some d3d light in the scene, this stuf should work, right??

#define VC_LIGHT_POS2      C27
#define VC_LIGHT_DIR2      C28
#define VC_LIGHT_DIFFUSE2  C29
#define VC_LIGHT_SPEC2     C30

...

#1
01/12/2005 (7:36 pm)
Nope, that's placeholder. Might get used, might not.
#2
01/12/2005 (7:37 pm)
Doh!

that was quick..:)
hey but the sun is:

VC_LIGHT_POS1

right?
#3
01/13/2005 (3:03 am)
Hopefully. ;)
#4
01/13/2005 (6:52 pm)
Yes, err or it might be VC_LIGHT_DIR1 - that's what the procedural shaders are using.