Weitere Anpassungen bezüglich der Voxel und des Zoning Systems
This commit is contained in:
@@ -4,6 +4,7 @@ MaterialDef CloudDome {
|
||||
Vector2 CloudOffset : 0.0 0.0
|
||||
Float CloudCover : 0.0
|
||||
Color CloudColor : 1.0 1.0 1.0 1.0
|
||||
Vector3 SunsetGlow : 0.0 0.0 0.0
|
||||
}
|
||||
|
||||
Technique {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
uniform vec2 m_CloudOffset;
|
||||
uniform float m_CloudCover;
|
||||
uniform vec4 m_CloudColor;
|
||||
uniform vec3 m_SunsetGlow; // additiver Rot-Orange-Ton für Wolkenunterseite bei tiefem Sonnenstand
|
||||
|
||||
in vec3 vDir;
|
||||
out vec4 outColor;
|
||||
@@ -49,5 +50,8 @@ void main() {
|
||||
|
||||
cloud *= hFade;
|
||||
|
||||
outColor = vec4(m_CloudColor.rgb, cloud * m_CloudColor.a);
|
||||
// Abendrot-Glut auf Unterseite: overhead-Wolken (dir.y hoch) leuchten stärker rot
|
||||
float glowWeight = smoothstep(0.0, 0.4, dir.y);
|
||||
vec3 cloudRgb = m_CloudColor.rgb + m_SunsetGlow * glowWeight;
|
||||
outColor = vec4(min(cloudRgb, vec3(1.0)), cloud * m_CloudColor.a);
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
blight-assets/src/main/resources/audio/music/02-The Beach.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/music/02-The Beach.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
blight-assets/src/main/resources/audio/music/04-The Island.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/music/04-The Island.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
blight-assets/src/main/resources/audio/music/20-Showdown.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/music/20-Showdown.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user