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


     
Fishing game updates... 4/22/2019
I added a stage-select screen to the interface...
Fishing game updates... 4/21/2019
More updates to the fishing game...
Fishing game updates... 4/20/2019
Minor updates to the user-interface...
Fishing game updates... 4/17/2019
Added a time-of-day feature...
Fishing game updates... 4/16/2019
I tested the game for a couple hours and made several minor improvements...
Fishing game updates... 4/15/2019
I worked more on the sparkle effect.
Fishing game updates... 4/14/2019
I tried adding a sparkle effect the the sand and fish...
Fishing game updates... 4/14/2019
I modeled a tacklebox...
Fishing game updates... 4/13/2019
I added a ui box for feedback...
Fishing game updates... 4/6/2019
I added the lures/bait...
Site created and maintained by kreediddy. © 2010-2019. kreediddy.