Hi. Here is the effect using camera vector:
Here is the similar effect on other optics:
Here is a base code:
As you can see it allways pointing in the direction where scope is faced, you can say that it is projecting the reticle to the point which you will hit.
The question is: is it possible to do the same effect using vertex shader (if i made reticle with polygons)? Any ideas how I can shift the vertices the same way as camera vector doing this in pixel shader?
I don’t wan’t to use any textures.
Thanks.