virtueone            
  home     support     info  

 


                
Color from Skybox - Posted on: 4/10/2017   [Tutorials]



In my game Orb Lands, the environments are generated randomly - I needed a way to automatically set the fog color and light color, based on the Skybox. So, here's a script I wrote to accomplish that...

It's very easy to use, just read the commented code. It's tested in Unity version 5, but should support other versions too.
Download  ColorFromSkybox.js




<< Back to main news page


     
Editing Part 7 12/3/2017
I'm editing Part 7 of my new tutorial series.
Creating dynamic environments with Unity! 4/16/2016
After all the time I've spent working with terrains and environments in Unity, I decided to make some tutorial videos and resources to help others.
Site created and maintained by kreediddy. © 2010-2017. kreediddy.