From f7cf1c020c771b191415f26aff6dec1d7d75345d Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 9 Oct 2021 18:20:57 -0500 Subject: [PATCH] inject getworldtotangent and getworldnormal to ensure var order --- Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp b/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp index b41dfc234..bb09113a4 100644 --- a/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp +++ b/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp @@ -2974,6 +2974,8 @@ void ReflectionProbeFeatGLSL::processPix(Vector& 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