mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-26 12:41:40 +00:00
fix glass
This commit is contained in:
parent
5b3da1277d
commit
883ef095f0
1 changed files with 0 additions and 1 deletions
|
|
@ -70,7 +70,6 @@ class RefractMaterial extends hxsl.Shader {
|
||||||
var specular = specularColor * pow(specValue, shininess);
|
var specular = specularColor * pow(specValue, shininess);
|
||||||
|
|
||||||
outCol += specular * diffuse.a;
|
outCol += specular * diffuse.a;
|
||||||
outCol = refractColor;
|
|
||||||
|
|
||||||
// Gamma correction using our regression model
|
// Gamma correction using our regression model
|
||||||
if (doGammaRamp) {
|
if (doGammaRamp) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue