Bigger bloom, adjust sun intensity

This commit is contained in:
xkamikoo 2021-01-29 02:13:38 +01:00
parent b7731e7faf
commit 042572f519
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ void main()
FragColor = vec4(texture + texture * coef, 1.0);
float brightness = dot(FragColor.rgb, vec3(0.2, 0.7, 0.07));
if(brightness > 0.7)
if(brightness > 0.2)
BrightColor = vec4(FragColor.rgb, 1.0);
else
BrightColor = vec4(0.0, 0.0, 0.0, 1.0);

View File

@ -478,7 +478,7 @@ void init()
Light l1;
l1.position = sunPos;
l1.color = glm::vec3(0.8f, 0.8f, 0.7f);
l1.intensity = 2;
l1.intensity = 7;
lights.push_back(l1);
Light l2;