Threaded View

why are my objects translucent?

Hello,

I have this shader and it is turning all of my objects translucent. From the code it looks to me like the color's alpha value will always be 1, but it is not. If I explicitly set 'colorVarying.w' to 1.0 at the end, then the objects appear opaque. Can anyone see how my alpha would be anything but 1 from this code?