- Home /
Shader to turn materials transparent based on y axis
My skills in shader programming are lacking, but I am looking for a shader which will allow me to turn the material on my object transparent based upon its y axis in the world.
For example, if I set the control on the shader to 0.25, the top quarter becomes transparent but the bottom part still retains the look of its material.
I would like to have the ability to use albedo, metallic, normal and height maps if possible.
I previously found this: https://answers.unity.com/questions/882134/shader-based-on-vertex-height.html but I can't get it to work.
Thanks for your help.
Your answer
Follow this Question
Related Questions
See backside of a transparent emissive shader? 0 Answers
How to extend a Material Shader so that it also maps the Normal Maps in WorldSpace? 1 Answer
How do I implement 2 sided transparent objects (especially for WebGL)? 0 Answers
How can i add transparency to this shader? 1 Answer
Visual Artifacts from my Custom Transparent Shader 0 Answers