24// Executes the translation process, filling the material shader template parameters in OutParameters and configuring OutEnvironment for shader compilation.
25// After this call, interpolate the MaterialTemplate shader with the list of parameters to get the final HLSL shader.