I want to achieve this effect, Is there a similar example, please
Reminds me about this: Cheap misty effect
3 Likes
This is a good example. How can I change the white blur in this example to slowly transparent
you can modify the onBeforeCompile to include
gl_FragColor.a = 1.0 - planeFog;
making sure transparent is set to true on the material
1 Like
Thank you very much, the effect is very good, my initial idea is to start from one of the bottom vertices of the cube, randomly find enough points, reduce their transparency, I will learn shader, understand the idea of starting from shader