virtueone            
  home     support     info  

 


                
Faux fog surface shader... - Posted on: 9/19/2019   [Uncategorized]



I had an idea to edit one of my simple surface shaders to include scrolling animation, and it turned into a faux fog shader...

Considering this is a flat 2d effect, no volumetric properties (that's why I'm calling it a "faux" effect),I'm amazed how nice it looks.

To achieve this effect, I'm blending between a terrain texture and a clouds texture, then animate and distort the cloud texture using a distortion texture, then also use the same distortion texture as noise for the height. It's actually fairly simple to do with a basic understanding of surface shaders.

I also used a custom "finalcolor" shader function to apply to the "fog" without shadow - that was probably the trickiest part.

The effect only looks good from a distance, so it would only be useful for specific cases. I'll release this as a new package soon, first for patrons, then later for the public.




<< Back to main news page


     
AI? 11/23/2019
I'm seeing how difficult it would be to make a computer player...
Water Caustics updates... 11/17/2019
I had a clever idea to improve my water caustics effect...
Grass... 11/11/2019
More work on the grass shader...
Grass... 11/10/2019
Following up to my previous posts about grass...
Grass... 11/9/2019
Yep, more grass work!...
Grass... 11/7/2019
More experimenting with Roystan's grass shader...
Grass... 11/6/2019
I edited Roystan's grass shader...
Better grass solutions... 10/29/2019
In relation to my previous posts, I've been looking at better grass solutions for Unity...
Grass solutions... 10/28/2019
I'm experimenting with creating my own grass for Unity...
Faux fog effect with atmospheric scattering... 10/26/2019
I created a scene using my faux fog shader along with the atmospheric effect I spoke about in my previous post, and the result is quite nice.
Site created and maintained by kreediddy. © 2010-2020. kreediddy.