Vertex Offset and Vertex Normal Use
Posted: Sun Aug 20, 2017 10:40 am
Hi
Can someone give me a quick explanation of how Vertex Normal on the Shader is used. I guess I'm trying to understand how the pixel values from a texture are used determine normal direction. I've hunted around the wiki docs and not found much. I'm trying to get my mesh to displace relative to vertex normals (so guessing I need to either have a texture, calculated or otherwise to broadly describe the mapped mesh shape)? Either way, looking for an explanation on the usage and form of these vertex inputs. Thanks!
Can someone give me a quick explanation of how Vertex Normal on the Shader is used. I guess I'm trying to understand how the pixel values from a texture are used determine normal direction. I've hunted around the wiki docs and not found much. I'm trying to get my mesh to displace relative to vertex normals (so guessing I need to either have a texture, calculated or otherwise to broadly describe the mapped mesh shape)? Either way, looking for an explanation on the usage and form of these vertex inputs. Thanks!