Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Ventuz.Lights.Position

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
GlareTechnologies

Ventuz.Lights.Position

Post by GlareTechnologies » 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

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: Ventuz.Lights.Position

Post by Karol » 16 Aug 2012, 10:07

Hi Bastian,

Dierk improved that for Ventuz 3.07.01.
This version will be released next week.

Cheers

Karol

Post Reply