Hello! I would like to do gradient fading for displacement to edges of a mesh. Can I use the properties of vertexcolors to control the displacement amount parameters?
Yup you could probably use a custom shader or the node material editor for this. then you could either use the local position in the mesh if you normalize it or the vertex color info as an input for your displacement.
1 Like
Great, thx! It now remains to study shaders
This will help you a lot How To use the Node Material - Babylon.js Documentation
You have plenty of video tutorials at the end including an amazing serie from @PirateJC
2 Likes
I certainly wouldn’t say “amazing” but hopefully it’s helpful
1 Like