fix glass

This commit is contained in:
RandomityGuy 2023-06-17 02:29:50 +05:30
parent 5b3da1277d
commit 883ef095f0

View file

@ -70,7 +70,6 @@ class RefractMaterial extends hxsl.Shader {
var specular = specularColor * pow(specValue, shininess);
outCol += specular * diffuse.a;
outCol = refractColor;
// Gamma correction using our regression model
if (doGammaRamp) {