slim ambient down to vec3, default to premul for translucency

This commit is contained in:
AzaezelX 2022-06-07 22:05:47 -05:00
parent 0e0088cab9
commit de6ee93159
5 changed files with 7 additions and 7 deletions

View file

@ -3153,7 +3153,7 @@ void ReflectionProbeFeatHLSL::processPix(Vector<ShaderComponent*> &componentList
Var *ambient = (Var *)LangElement::find("ambient");
if (!ambient)
{
ambient = new Var("ambient","float4");
ambient = new Var("ambient","float3");
eyePos->uniform = true;
eyePos->constSortPos = cspPass;
}