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:
2006-05-24 12:07:54 +00:00
parent 2c9214bcc9
commit 12a6cd486f
2 changed files with 12 additions and 11 deletions

View File

@@ -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];