No, don’t remove this.
It’s used to remap position from [-1;1] to [0;1] range.
About the lights: which type of lights, spot or point?
Ok… Thanks…
Point lights are visible only if move camera very far or too close… is it some sort of clipping plane issue…?
@Sizaar Thanks a lot! I found the issue… had a semicolon on the code above after 0.5f…
Sorry about that…
Really thankful to you for getting me done this… Now I can integrate this awesome lighting effects on my Actual application…
Thanks and Happy Gaming,
Bala