Gradient Shader - I'm struggling!
Posted: Tue Oct 31, 2017 8:38 am
Hey everyone,
I love to play around in amplify shader and I've been trying to learn how to make my own gradient shader.
I've made some progress but I'm stuck on a particular concept:
I've managed to map the gradient in one direction using the world normal direction but I cannot figure out how to evenly map the gradient to the scale of the mesh.
I'm currently using the vertex position.
Any help would be much appreciated,
Kind Regards,
K
I love to play around in amplify shader and I've been trying to learn how to make my own gradient shader.
I've made some progress but I'm stuck on a particular concept:
I've managed to map the gradient in one direction using the world normal direction but I cannot figure out how to evenly map the gradient to the scale of the mesh.
I'm currently using the vertex position.
Any help would be much appreciated,
Kind Regards,
K