forked from Dynamitos/Seele
Irradiance works
This commit is contained in:
1 parent
aa1f037cb5
commit
f21606379c
28 files changed
+524
-401
No files matched your search
@@ -30,6 +30,6 @@ float4 fragmentMain(in FragmentParameter params) : SV_Target
|
||||
uint lightIndex = pLightCullingData.lightIndexList[startOffset + i];
|
||||
result += pLightEnv.pointLights[lightIndex].illuminate(lightingParams, brdf);
|
||||
}
|
||||
result += brdf.evaluateAmbient();
|
||||
result += brdf.evaluateAmbient(lightingParams.viewDir_WS);
|
||||
return float4(result, brdf.getAlpha());
|
||||
}
|
||||
Reference in new issue
Block a user