mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-23 09:02:43 +08:00
disallow POM on signs, sample sky color (the one without clouds) to get an average color, it was too blue for me...clean up gbuffer program for my own convenience,
This commit is contained in:
@ -92,11 +92,13 @@ void main() {
|
||||
pos.xy += normalize(sample3x3[i] * vec2(0.5,0.5));
|
||||
averageSkyCol_Clouds += 2.0*skyCloudsFromTex(pos,colortex4).rgb/maxIT/150.;
|
||||
|
||||
averageSkyCol += 1.5*skyFromTex(pos,colortex4).rgb/maxIT/150.; // please dont do an infinite feedback loop....
|
||||
|
||||
pos = normalize(vec3(0,1,0));
|
||||
}
|
||||
|
||||
// only need to sample one spot for this
|
||||
averageSkyCol += 2.0*skyFromTex(normalize(vec3(0.0,1.0,0.0)),colortex4).rgb/150.;
|
||||
// // only need to sample one spot for this
|
||||
// averageSkyCol += 2.0*skyFromTex(normalize(vec3(0.0,1.0,0.0)),colortex4).rgb/150.;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user