Skip to content

Commit 5f18334

Browse files
committed
A piece of unfinished code
1 parent 1229d20 commit 5f18334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/RunActivity/Viewer3D/Materials.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,8 +1292,8 @@ public override void Render(GraphicsDevice graphicsDevice, IEnumerable<RenderIte
12921292
if (ClearcoatFactor > 0 && RenderProcess.CLEARCOAT)
12931293
{
12941294
graphicsDevice.SamplerStates[(int)SceneryShader.Samplers.Clearcoat] = SamplerStateClearcoat;
1295-
graphicsDevice.SamplerStates[(int)SceneryShader.Samplers.Clearcoat] = SamplerStateClearcoat;
1296-
graphicsDevice.SamplerStates[(int)SceneryShader.Samplers.Clearcoat] = SamplerStateClearcoat;
1295+
graphicsDevice.SamplerStates[(int)SceneryShader.Samplers.ClearcoatRoughness] = SamplerStateClearcoatRoughness;
1296+
graphicsDevice.SamplerStates[(int)SceneryShader.Samplers.ClearcoatNormal] = SamplerStateClearcoatNormal;
12971297
}
12981298

12991299
item.RenderPrimitive.Draw(graphicsDevice);

0 commit comments

Comments
 (0)