Baking texture through an alpha texture

Hi!
Can you point me in the right direction?
I am trying to bake a texture with an area lamp shining through a Tudor style window (alpha texture)…is this possible? …trying to get the diamond texture of the glass baked onto the floor.

Pic attached…

https://gyazo.com/dc2e38c78adc374392ef25243dc38de2

Thanks in advance :slight_smile:

Hi @Romsey_Homewood,

In case you still need an answer . . . it’s Yes :slight_smile:

You’ll need to use the Transparent BSDF shader for the window alpha ( I used an invert as my random map had the alpha the otherway round for ‘stained-glass’ ).

Dj.

1 Like

Hi DamianJ
Many thanks for the informative reply just one thing, how did you generate this node…

https://gyazo.com/88b6828209b1dd67c4c599e270f79fa5

…Also your node set up is applied to the window itself?

I am very new to nodes so having a bit of trouble.

Many thanks in advance

Success…

https://gyazo.com/62832a6c40b831b66754404c78cf4eca

https://gyazo.com/49276895bb5c0b41afecfcb5d73618db

Thanks for all your help, hope this helps others too : smiley:

1 Like

Hey,

The node you asked about is just an image map that I quickly made in Photoshop, a 32bit with an Alpha channel. This is just a stand-in for what I assumed you were using for the diamond pattern of your window.

Here’s the Blender file if that helps:
AlphaTest.blend (660.9 KB)

I’ve packed all the textures ( the window one you asked about and the baked floor ) into this Blend file so they should work immediately.

As baking only works in Cycles so you’ll need to switch the viewport/renderer to that.

Dj.

1 Like

That’s awesome tysvm!
All good now.

Have a great day. :hugs: