Not logged inOpenClonk Forum
Up Topic Material Shading

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to PeterW
Well, see the spreadsheet. I have now updated it so it is exactly 7 steps, and also covers the "dark edge".

This gives the following numbers for the bright edge, assuming maximum placement difference (40 - granite to tunnel):
0.1 : [0.45, 0.98, 0.99, 0.97, 0.95, 0.94, 0.94, 0.93]
0.15: [0.45, 0.94, 0.99, 0.99, 0.97, 0.96, 0.96, 0.95]
0.2 : [0.45, 0.88, 0.99, 0.99, 0.99, 0.98, 0.97, 0.96]


and for the dark edge:
0.1 : [0.45, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
0.15: [0.45, 0.02, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
0.2 : [0.45, 0.12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]


With 0.45 being the "standard" illumination level. Lower placement differences should "stretch" the distribution appropriately. So, yes, this means that if we only used landscape normals, the dark edge of granite would be basically black. I might actually have to re-check the math a bit - this seems a bit too extreme.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill