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


     
PATREON RESOURCES/LINKS 10/28/2023
PATREON RESOURCES/LINKS
Tropical Scene 8/1/2023
I made a tropical scene in Unity, just for fun.
Skybox AI 6/26/2023
I heard about this AI skybox generator and did a few tests in Unity.
Bobsled Game 3/7/2022
I recently watched the olympic bobsled event and got inspired to make a bobsledding game...
3D Viewer 1/1/2022
I made a simple program in Unity for viewing my 3d objects.
New 3d scene... 8/10/2021
A new scene I made in Blender3D...
Blender... 8/3/2021
I made some trees...
3d scene... 7/27/2021
A landscape scene I made in Blender...
Blender grass... 7/16/2021
An updated image of the different types of grass I made in Blender.
Grass... 7/14/2021
Different styles of grass...
Site created and maintained by kreediddy. © 2010-2024. kreediddy.