virtueone            
  home     support     info  

 


                
Water fx... - Posted on: 1/28/2019   [Uncategorized]



I worked more on the new water effects...

So, I've figured out two things which help with the pixelation on mobile/android... most of it has to do with precision loss...
- Use "frac()" or "fmod()" to prevent Time variables from becoming too large.
- Use "Float" types only, for higher precision.
I've read that android/mobile will convert those variables into less precise "half" or "fixed" types, so that doesn't make sense to me. But, it does seem to help. The textures are not crisp, but the pixelation is negligible from a short distance.

I also added another Alpha property, which blends the main texture with the water color/alpha!

I'm not sure if I'll attach my other effects to this yet. Its mostly intended for mobile... so, I think I'm going to keep this version clean and simple.

And, I also created a different shader for the terrain/objects. Instead of a "texture-to-fog", its a "texture-to-texture" shader, which has one texture for dirt and one texture for grass that are blended together at a specified height.




<< 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.