How can I create a mirror texture in Fragment.glsl that accurately reflects the environment and other meshes?
im working with React Three Fiber
i cannot use MeshReflectMaterial by Drei as i want to deform the mesh using vertex.glsl too
If you’re gonna be modifying the vertices… you also have to compute normals for reflection to work.
1 Like