- Home /
Change vertex height with noise texture through shader
What I want to do is change the height of each vertex on a plane by the alpha of a noise texture. So I think I'll need to get the colour of a noise texture at each vertex position, and change that vertex's y-value by that colour's alpha. Also, I want this to all be done by shader because this is for my game's water. Note: I'm really new to coding shaders and also I hope my English is okay.
Thanks in advance.
It sounds like you are on the right track. $$anonymous$$eep going!
Also, you don't really have a question here. I recommend reading up on the sample shaders, and working your way up from there. Once you have something working, if you have a specific problem, post it here and we'll be happy to help.
The thing is I don't actually know how to do all that. That's my question: how do I actually achieve this? Thanks for the reply though I'll definitely look at the sample shaders.