From 93704a3f7265a67c16e4f2152b8b8554aeeeb80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tur=C3=A1nszki=20J=C3=A1nos?= Date: Mon, 11 Oct 2021 12:58:30 +0200 Subject: [PATCH] raytraced reflections: emissive fix for anyhit shader --- WickedEngine/shaders/rtreflectionLIB.hlsl | 2 -- 1 file changed, 2 deletions(-) diff --git a/WickedEngine/shaders/rtreflectionLIB.hlsl b/WickedEngine/shaders/rtreflectionLIB.hlsl index 6b04b2741..ac267228d 100644 --- a/WickedEngine/shaders/rtreflectionLIB.hlsl +++ b/WickedEngine/shaders/rtreflectionLIB.hlsl @@ -182,8 +182,6 @@ void RTReflection_AnyHit(inout RayPayload payload, in BuiltInTriangleIntersectio Surface surface; surface.load(prim, attr.barycentrics); - payload.data.rgb += surface.emissiveColor; - float alphatest = clamp(blue_noise(DispatchRaysIndex().xy, RayTCurrent()).r, 0, 0.99); [branch]