mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 05:20:31 +00:00
commit
97de2e6b60
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ float getDistanceAtt( float3 unormalizedLightVector , float invSqrAttRadius )
|
|||
float3 evaluateStandardBRDF(Surface surface, SurfaceToLight surfaceToLight)
|
||||
{
|
||||
//diffuse term
|
||||
float3 Fd = float3 Fd = surface.albedo.rgb * M_1OVER_PI_F;
|
||||
float3 Fd = surface.albedo.rgb * M_1OVER_PI_F;
|
||||
|
||||
//GGX specular
|
||||
float3 F = F_Schlick(surface.f0, surface.f90, surfaceToLight.HdotV);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue