Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Commit e6e9253

Browse files
committed
removed old code
1 parent 3ec0e8d commit e6e9253

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

resources/shaders/dxr_pathtracer_functions.hlsl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ float3 ggxIndirect(float3 hit_pos, float3 fN, float3 N, float3 V, float3 albedo,
223223
}
224224
#endif
225225

226-
float3 kS = F_SchlickRoughness(max(dot(fN, V), 0.0f), metal, albedo, roughness);
227-
float3 kD = 1.0f - kS;
228-
kD *= 1.0f - metal;
229-
230226
// #### BOUNCE ####
231227
float3 irradiance = 0;
232228
if (use_raycone)

0 commit comments

Comments
 (0)