Skip to content

Commit 7ff759c

Browse files
Made terrain brighter
1 parent 176cdcc commit 7ff759c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

SourceFiles/TerrainRevPixelShader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ PSOutput main(PixelInputType input)
125125
result = lerp(result, t2, t2.a);
126126

127127
// Apply lighting
128-
float4 color = result * input.lightingColor;
128+
float4 color = result * 1.4 * input.lightingColor;
129129
color.a = 1.0f;
130130

131131
bool should_render_shadow = should_render_flags & 1;

SourceFiles/TerrainRevPixelShader.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ PSOutput main(PixelInputType input)
120120
result = lerp(result, t2, t2.a);
121121

122122
// Apply lighting
123-
float4 color = result * input.lightingColor;
123+
float4 color = result * 1.4 * input.lightingColor;
124124
color.a = 1.0f;
125125

126126
bool should_render_shadow = should_render_flags & 1;

0 commit comments

Comments
 (0)