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


     
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.
Playing with old effects... 10/24/2019
I looked at Unity's "Adam Exterior Environment Pack" in effort to understand how the creators made it look so good and I discovered a few main differences between the project and my projects...
Terrain blending shader... 10/2/2019
Last year I tried to make a terrain-blending shader but I didn't have the experience to do it...
Site created and maintained by kreediddy. © 2010-2019. kreediddy.