put sphereical influence back via the new spherical attenuation methods, shifted the stateblock for probes specifically to max of either source or desitination alpha (though not entirely convinced that is in fact the case)

This commit is contained in:
Azaezel 2018-11-28 12:00:06 -06:00
parent 8dad81e494
commit d3eb2f7784
2 changed files with 16 additions and 5 deletions

View file

@ -780,7 +780,7 @@ bool ReflectProbeMatInstance::setupPass(SceneRenderState *state, const SceneData
desc.setZReadWrite(false);
desc.zWriteEnable = false;
desc.setCullMode(GFXCullNone);
desc.setBlend(true, GFXBlendSrcAlpha, GFXBlendInvDestAlpha, GFXBlendOpAdd);
desc.setBlend(true, GFXBlendSrcAlpha, GFXBlendDestAlpha, GFXBlendOpMax);
mProjectionState = GFX->createStateBlock(desc);
}
// Now override stateblock with our own