Ventuz.Lights.Position
Posted: 16 Aug 2012, 09:30
Hi,
lets say I am setting a point light at position (10,10,10).
In my own shader I request the light position via
float3 LightPos
<
string SasBindAddress = "Ventuz.Lights.Position";
>;
Would I get (10,10,10) ? Most likely not (at least my experiments show that), but with which matrix is the light position multiplied ?
Remark: the Light node is been placed just before the HLSL Node.
Regards,
Bastian
lets say I am setting a point light at position (10,10,10).
In my own shader I request the light position via
float3 LightPos
<
string SasBindAddress = "Ventuz.Lights.Position";
>;
Would I get (10,10,10) ? Most likely not (at least my experiments show that), but with which matrix is the light position multiplied ?
Remark: the Light node is been placed just before the HLSL Node.
Regards,
Bastian