Well I have added the techniques and stuff but I can get it to render. lol I kind of forgot how you make it show up from the shader. Do you know how to make it show?
Here is what I have. Is there anything i'm forgetting to pass?
rem fog color and light position from shader
null=make vector4(1)
null=make vector4(2)
rem fog color x,y,z
FX# = 0
FY# = 255.0
FZ# = 0
rem set the vector and pass it to the shader
set vector4 1,FX#,FY#,FZ#,0
SET EFFECT CONSTANT vector 1,"FOGCOLOR", 1
rem light x,y,z
LX# = 0
LY# = 100.0
LZ# = 0
rem set the vector and pass it to the shader
set vector4 2,LX#,LY#,LZ#,0
SET EFFECT CONSTANT vector 1,"LightPosition", 2
rem update the changes made
set effect technique 1,"Diffuse"
set effect technique 1,"Lighting"
darkvee