unity-renderer
unity-renderer copied to clipboard
New Infinite Fog Add Auto Center position
New infinite Fog on Infinite Floor must transpose the center of the fog AND at the same time retain the infinite edges by blending with the Procedural Skybox ground
- [x] Identify problem
- [x] solution
- [x] implementation
Settings and how it works (automated)
https://images.zenhubusercontent.com/337227404/f807d55d-8d4d-4aba-967a-21a484f40879/infinite_floor_autofogposition_1.m4v
Updated infinite floor to get the internal fog based on player position or 0,0.
Updated current solution to cover all cases , including high ground , main decentraland , edges (we need data for this to work , a script to adjust the internal fog radius , i can take care of it if needed)
-
Matched Unity fog color with Procedural Skybox ground color
-
Expanded the external Fog to give the smooth gradient blending
-
Updated Procedural Skybox color palette to match up with unity fog per hour in 6 segments
- Added Brightness factor for the Fog
- Tweaked for realtime
https://images.zenhubusercontent.com/337227404/629eb49a-e07e-4baa-923b-1b693627505b/fogwithbrightfactor_1.m4v
And in runtime
https://images.zenhubusercontent.com/337227404/db49b046-f805-4d35-84d2-6895b19aba14/runtime_perfectmatch_1.m4v
Separated decentraland infinite floor map from ground color that was penetrating from prodecural skybox