Skip to content

Commit

Permalink
Update TerrainGeometryShader.wgsl
Browse files Browse the repository at this point in the history
  • Loading branch information
rdw-software committed Jan 31, 2024
1 parent 00b6375 commit 2c6efff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Core/NativeClient/WebGPU/Shaders/TerrainGeometryShader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ fn clampToUnitRange(color : vec3f) -> vec3f {
}

// pay_dun00
const fogNearLimit = 0.1 * 298;
// const fogNearLimit = 0.1 * 298;
// const fogFarLimit = 0.9 * 298;
// const fogColor = vec4f(0x04/255.0, 0x00/255.0, 0x9A/255.0, 1.0);

// xmas_dun01
const fogNearLimit = 0.23 * 298;
const fogFarLimit = 0.9 * 298;
const fogColor = vec4f(0x04/255.0, 0x00/255.0, 0x9A/255.0, 1.0);
const fogColor = vec4f(0x20/255.0, 0xFF/255.0, 0xFF/255.0, 1.0);

@vertex
fn vs_main(in: VertexInput) -> VertexOutput {
Expand Down

0 comments on commit 2c6efff

Please sign in to comment.