Rotating vertex position and normals around local Y axis
Posted: Mon Dec 11, 2017 4:21 am
Okay, so this question is probably a bit advanced. I'm looking for a way to rotate a mesh around the object origin's Y axis using vertex offset while preserving normals. I need to preserve normals so that the metallic object reflects the environment accurately.
The reason is for optimized performance. I have quite a few coins in my scene in Unity that are always rotating. I'm not sure if I would get a performance boost by using the shader instead of just rotating the objects transforms. Is there a node for this, or am I going to have to do some trigonometry (I'm only "pretty good" at math at math)? I've searched the internet and found nothing really useful. Any help or tips are appreciated.
The reason is for optimized performance. I have quite a few coins in my scene in Unity that are always rotating. I'm not sure if I would get a performance boost by using the shader instead of just rotating the objects transforms. Is there a node for this, or am I going to have to do some trigonometry (I'm only "pretty good" at math at math)? I've searched the internet and found nothing really useful. Any help or tips are appreciated.