This is a relatively simple node that uses the angle between the object normal and the camera ray to control the transparency, achieving a smooth fade effect.
uniform vec3 norm; uniform vec3 cam; void main() { ... float alpha = dot(norm, cam); ... }
This is a relatively simple node that uses the angle between the object normal and the camera ray to control the transparency, achieving a smooth fade effect.
uniform vec3 norm; uniform vec3 cam; void main() { ... float alpha = dot(norm, cam); ... }