mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 13:13:53 +00:00
normal orientation debug lines (remmed)
This commit is contained in:
parent
d1b24af399
commit
6957e69d83
2 changed files with 2 additions and 1 deletions
|
|
@ -404,6 +404,6 @@ float4 computeForwardProbes(Surface surface,
|
|||
//final diffuse color
|
||||
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
|
||||
float4 finalColor = float4(diffuse + specular, 1);
|
||||
|
||||
//finalColor.rgb += abs(surface.N);
|
||||
return finalColor;
|
||||
}
|
||||
|
|
@ -198,5 +198,6 @@ float4 main(PFXVertToPix IN) : SV_TARGET
|
|||
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
|
||||
float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
|
||||
|
||||
//finalColor.rgb += abs(surface.N);
|
||||
return finalColor;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue