[Opinions Needed] Darker ambient occlusion values?
Posted: Sun Jan 11, 2015 14:58
Hey guys, it's me again. I've been quite busy recently and still don't really have time for Minetest.
I fired it up for the first time in ages a bit ago, and was shocked at how (I don't know, plastic?) the world felt.
From my experience, ambient occlusion greatly affects the level of realism of a 3D scene, so I played around with the values in mapblock_mesh.cpp until I found something that seemed to look nice.
In my opinion, this really enhances the vibrancy of the scene. Thoughts?
Do you guys think this looks better or worse?
Screenshot with default values:
Screenshot with modified values:
To play with it yourself, replace line 294 in mapblock_mesh.cpp with this and recompile:
Note, this value is a ballpark estimate, and is quite subject to change.
(Sorry, had to use a different image hosting site. China now blocks mediacru.sh. :/)
I fired it up for the first time in ages a bit ago, and was shocked at how (I don't know, plastic?) the world felt.
From my experience, ambient occlusion greatly affects the level of realism of a 3D scene, so I played around with the values in mapblock_mesh.cpp until I found something that seemed to look nice.
In my opinion, this really enhances the vibrancy of the scene. Thoughts?
Do you guys think this looks better or worse?
Screenshot with default values:
Screenshot with modified values:
To play with it yourself, replace line 294 in mapblock_mesh.cpp with this and recompile:
Note, this value is a ballpark estimate, and is quite subject to change.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
static const float light_amount[4] = { 0.6, 0.5, 0.3, 0.0 };
(Sorry, had to use a different image hosting site. China now blocks mediacru.sh. :/)