Why is my mix shader not rendered?

Quick question: I am using a simple mixed shader, using an alpha channel to control the blending. The floor and cube both have a similar setup without mix shader, and they render properly in Cycles. The opengl view DOES display my mixed shader.


So what am I missing in the node setup for the square?

Here’s the file:

alpha_transition_textures.blend (4.52 MB)

Because you’re using colors for shader inputs and shaders for color inputs and all kinds of strange things. What you should do is plug your textures into Colors of Diffuse BSDF and mix outputs of those Diffuse BSDFs.

Thanks, it’s quite late here, and I was not thinking straight. I put two diffuse BSDFs between the image texture and mix shader nodes, and another problem was that I relied on the opengl view for correct visual mapping - it was totally off, and more or less hid the alpha channel.

Sometimes it is very frustrating the opengl view does not map generated texture coordinates correctly at all.