virtueone            
  home     support     info  

 


                
Fishing game updates... - Posted on: 3/17/2019   [Uncategorized]



I've spent the last couple days struggling with shaders...

I wanted to change the shadow colors, which is not easy to do in Unity - you have to use a shader. So, I've been trying to update the latest shaders for the game to support colored shadows. I actually figured it out, but I'm having some minor problems...

I'm using a custom lighting model directly from the Unity manual and I've noticed the lighting isn't actually the same as the standard model... I wish there was some explanation for this. It's not a major issue, just very confusing, and frustrating because I want it to look the same!

In the attached image, the top screenshot uses the Standard Surface shader. The bottom screenshot uses the Standard Surface shader with the Custom Lighting function... So, I'm close, but the result is darker/light and more or less saturated. I'm also using viewDir to create the "sheen" that's visible in the original shader, but not the custom lighting model, and that has another undesired effect where it feels like the "sheen" is following the player.

I just need to decide if the colored shadows are worth the difference, then I can continue making more progress on the game.




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