mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
inject getworldtotangent and getworldnormal to ensure var order
This commit is contained in:
parent
e2e1c491ac
commit
f7cf1c020c
1 changed files with 2 additions and 0 deletions
|
|
@ -2974,6 +2974,8 @@ void ReflectionProbeFeatGLSL::processPix(Vector<ShaderComponent*>& componentList
|
||||||
|
|
||||||
// Now the wsPosition and wsView.
|
// Now the wsPosition and wsView.
|
||||||
Var *wsPosition = getInWsPosition(componentList);
|
Var *wsPosition = getInWsPosition(componentList);
|
||||||
|
Var *worldToTangent = getInWorldToTangent(componentList);
|
||||||
|
Var *wsNormal = getInWorldNormal(componentList);
|
||||||
Var *wsView = getWsView(wsPosition, meta);
|
Var *wsView = getWsView(wsPosition, meta);
|
||||||
|
|
||||||
//Reflection Probe WIP
|
//Reflection Probe WIP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue