Hi!

I would like to know more about vecLightViewPos[8], manual just doesn't say anything about it... I'm trying to get the position of each light via pp shader, and thought, that I need to get position relative to the view coordinates, so that's why I'm trying to learn more about vecLightViewPos. I thought that it's float3 with x, y being the screen coordinates and z the lightrange... but this doesn't work, then I tried to use it as a float4 with .w being the lightrange (as for vecLightPos), but this doesn't work either... What would you guys suggest, what am I doing wrong?

Last edited by 3run; 05/13/20 19:55.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung