threepp icon indicating copy to clipboard operation
threepp copied to clipboard

Shader Material Help

Open Choons opened this issue 1 year ago • 0 comments

Hi, this is another question: I have been experimenting with the raw shader example and The Book Of Shaders to try to learn how to use shaders as materials and it's working, but the shaders don't follow the rotation of the meshes. There's no perspective to them, like they are always drawn normal to the screen rather than "sticking" on the surface of the triangle mesh as it moves or rotates. Can anyone tell me how to make shader materials move with the mesh the way textures do?

Choons avatar Oct 09 '24 01:10 Choons