Skip to content

Commit

Permalink
Fix incorrectly lit voxels
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Sep 24, 2024
1 parent 21be32e commit 587a118
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/TSMapEditor/Content/Shaders/PalettedColorDraw.fx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ PixelShaderOutput MainPS(VertexShaderOutput input)
}
else
{
output.color = float4(tex.r * input.Color.r, tex.g * input.Color.g, tex.b * input.Color.b, tex.a) * Opacity;
output.color = float4(tex.r * input.Color.r * 2.0,
tex.g * input.Color.g * 2.0,
tex.b * input.Color.b * 2.0, tex.a) * Opacity;
}
}

Expand Down

0 comments on commit 587a118

Please sign in to comment.