Hey!
I am working on adding reflection to a grid, but I am having rather big problems understanding what is going wrong. The grid is a screen space grid made following this tutorial: http://jeremybouny.fr/en/articles/screen_space_grid/
I do like this to project the reflections:
Vertex:
Thanks for the answer!
I tried a different code instead, and I feel sooo close to getting it…
But something is still odd. It’s hard to say in the photo, so maybe I’ll record a video later.
Maybe you can still see what’s missing in the new code:
Now I tried to skip the screen space grid and use a simple graph.
But still I cannot manage basic reflections.
The image refuses to center on the mesh.
Any ideas what is wrong?
Vertex: vec3 vEyeNormal = gl_NormalMatrix * gl_Normal;