[DiscordArchive] how can a color be more than 1.0?
[DiscordArchive] how can a color be more than 1.0?
Archived author: Skarn • Posted: 2018-07-27T09:14:06.387000+00:00
Original source
how can a color be more than 1.0?
Archived author: Skarn • Posted: 2018-07-27T09:14:19.397000+00:00
Original source
It is possible in Blender, but I don't see the mechanics behind it
Archived author: Deamon • Posted: 2018-07-27T09:16:15.499000+00:00
Original source
it's just math... the color is clamped against (0.0, 1.0) when it's transformed from float back to int
Archived author: Quantam • Posted: 2018-07-27T09:31:11.535000+00:00
Original source
Color > 1.0 is https://en.wikipedia.org/wiki/High-dynam..._rendering
[Embed: High-dynamic-range rendering]
High-dynamic-range rendering (HDRR or HDR rendering), also known as high-dynamic-range lighting, is the rendering of computer graphics scenes by using lighting calculations done in high dynamic range (HDR). This allows preservation of details that may be lost due to limiting ...
https://en.wikipedia.org/wiki/High-dynam..._rendering
Archived author: Skarn • Posted: 2018-07-27T09:35:19.905000+00:00
Original source
Then the most possible explanation is that I am doing something wrong with nodes or they do not work as expected
Archived author: Skarn • Posted: 2018-07-27T09:35:46.128000+00:00
Original source
<@250706991515828224> Do you know what is extLightFactor for exterior lighting?
Archived author: Skarn • Posted: 2018-07-27T09:35:54.510000+00:00
Original source
I got this formula from fallenoak long ago
Archived author: Skarn • Posted: 2018-07-27T09:36:04.543000+00:00
Original source
vec4 finalColor = ((standardExtLightingTerm * matDiffuse) + vertexColor) * 2.0) * textureColor;
Archived author: Skarn • Posted: 2018-07-27T09:36:13.608000+00:00
Original source
Where standardExtLightingTerm is (extLightDiffuse * extLightFactor) + extLightAmbient
And matDiffuse is the usual 0xFF7F7F7F -- ie ~ (0.5, 0.5, 0.5, 1.0)