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


     
Euphorica updates... 8/13/2019
Lots more updates...
Euphorica updates... 8/11/2019
Adding a game over ui element with stats...
Euphorica updates... 8/2/2019
I worked on many updates...
Euphorica updates... 8/1/2019
I made several nice updates to Euphorica...
Screenshot 7/7/2019
It's a shame I never really found a use for Orb lands game, because the scenes it generates are really beautiful at times.... I just wanted to share these two pretty screenshots I took while playing.
Unity Post-processing Stack... 2/23/2019
Unity replaced its post-effects a while ago, but I haven't used them yet, until today...
Labyrinth game updates... 2/20/2019
I made minor updates to the user-interface, backgrounds, etc...
New backgrounds... 2/19/2019
I added a couple new backgrounds...
Added a sliding menu... 2/17/2019
I made a simple menu, but decided not to use it...
Updates... 2/14/2019
I added one more level to the new labyrinth game...
Site created and maintained by kreediddy. © 2010-2019. kreediddy.