Skip to content
Snippets Groups Projects
Commit 35d92b2d authored by Tofu Linden's avatar Tofu Linden
Browse files

clean-up transplant

parent 7261a23f
Branches
Tags
No related merge requests found
...@@ -317,7 +317,6 @@ void main() ...@@ -317,7 +317,6 @@ void main()
vec3 reflight = reflect(lightnorm.xyz, norm.xyz); vec3 reflight = reflect(lightnorm.xyz, norm.xyz);
float reflit = max(dot(refn, reflight.xyz), 0.0); float reflit = max(dot(refn, reflight.xyz), 0.0);
// apply sun color to guess-point, dampen according to inappropriateness of guess // apply sun color to guess-point, dampen according to inappropriateness of guess
vec3 refprod = (vary_SunlitColor*reflit) * refcol.rgb * refapprop;
float refmod = min(refapprop, reflit); float refmod = min(refapprop, reflit);
vec3 refprod = vary_SunlitColor * refcol.rgb * refmod; vec3 refprod = vary_SunlitColor * refcol.rgb * refmod;
vec3 ssshiny = (refprod * spec.a); vec3 ssshiny = (refprod * spec.a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment