- Home /
Question by
KilledByToaster · Apr 16, 2021 at 02:41 PM ·
shadernormalscards
Help creating a shader for cards
Hi,
I'm trying to make a shader to render the fronts and backs of cards and allows for meshes with depth. I've seen shaders to render cards, but they require using a quad.

I've made this graph that renders two different textures on the top and bottom normals. The problem is that the add node seems to merge the textures in a way different to what I intend. Any ideas on how to combine both without the textures being mixed?
Thanks in advance!
shadergraph.png
(371.8 kB)
Comment
Best Answer
Answer by andrew-lukasik · Apr 16, 2021 at 03:46 PM

Works great, except for some reason the sides are merging the two textures like so.. 
any suggestion on how to make the sides a solid color?
ezgifcom-gif-maker.gif
(374.8 kB)
This happens when Normal Vector's Space is left be as Object and not View. Change it to View mate.
Your answer