Bugfix #4213
Using "Fresnel" for transparency only worked when material had "ZTransp" set. That's not a real problem, but it made Fresnel not work for Materials used in Nodes. Now a Fresnel on alpha works always.
This commit is contained in:
@@ -81,6 +81,9 @@ typedef struct ShadeInput
|
||||
int har;
|
||||
float layerfac;
|
||||
|
||||
/* base material mode (OR-ed result of entire node tree) */
|
||||
int mode;
|
||||
|
||||
/* texture coordinates */
|
||||
float lo[3], gl[3], uv[3], ref[3], orn[3], winco[3], sticky[3], vcol[3], rad[3];
|
||||
float vn[3], vno[3], facenor[3], view[3], refcol[4], displace[3];
|
||||
|
||||
Reference in New Issue
Block a user