mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 22:53:47 +00:00
no need to z flip the diffuse box dx side. may need to gl side
This commit is contained in:
parent
cf50803e72
commit
bdcb1aaea6
1 changed files with 0 additions and 1 deletions
|
|
@ -56,7 +56,6 @@ float3 boxProject(float3 wsPosition, float3 wsEyeRay, float3 reflectDir, float3
|
|||
float3 iblBoxDiffuse( Surface surface, int id)
|
||||
{
|
||||
float3 cubeN = boxProject(surface.P, surface.V, surface.R, inRefPosArray[id].xyz, bbMinArray[id].xyz, bbMaxArray[id].xyz);
|
||||
cubeN.z *=-1;
|
||||
return TORQUE_TEXCUBEARRAYLOD(irradianceCubemapAR,cubeN,id,0).xyz;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue