Dynamic Light Positions Passed To Shaders Are 1 Frame Dlayed

Posted By: YNG

Dynamic Light Positions Passed To Shaders Are 1 Frame Dlayed - 04/18/09 19:45

Subject is explainin everything about the situation. When i pass the light position with material skills everything works fine but with vecLightPos my cars headlight gets under the chassis at high speed because of 1 frame delay...

Thanks
YNG
Posted By: jcl

Re: Dynamic Light Positions Passed To Shaders Are 1 Frame Dlayed - 04/20/09 10:41

Yes, that's correct. It was implemented this way because light rendering needs some parameters from the view rendered before. I'll check if I can change this.
Posted By: YNG

Re: Dynamic Light Positions Passed To Shaders Are 1 Frame Dlayed - 04/21/09 07:53

I have seen at beta page that 1 frame delay was no longer valid. Thanks for your interest.

YNG
© 2024 lite-C Forums