Bigger bloom, adjust sun intensity
This commit is contained in:
parent
b7731e7faf
commit
042572f519
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user