inject getworldtotangent and getworldnormal to ensure var order

This commit is contained in:
AzaezelX 2021-10-09 18:20:57 -05:00
parent e2e1c491ac
commit f7cf1c020c

View file

@ -2974,6 +2974,8 @@ void ReflectionProbeFeatGLSL::processPix(Vector<ShaderComponent*>& componentList
// Now the wsPosition and wsView.
Var *wsPosition = getInWsPosition(componentList);
Var *worldToTangent = getInWorldToTangent(componentList);
Var *wsNormal = getInWorldNormal(componentList);
Var *wsView = getWsView(wsPosition, meta);
//Reflection Probe WIP