Trying to write a shader that takes 2 textures. The first is a base layer which only displays RGB data and does not have any transparency. Just a basic diffuse:
![alt text][1]
The transparent texture is a PNG with an alpha channel:
![alt text][2]
The transparent texture is overlaid over the baseTexture, in the same exact manner that Photoshop layers work.
The final result would be a diffuse image that looks exactly like these 2 layers would appear in Photoshop: ![alt text][3] What's the most basic / fastest way to achieve this in CG shader code? [1]: /storage/temp/173273-a-basetexture.jpg [2]: /storage/temp/173274-transparentlayer.png [3]: https://i.postimg.cc/JnVYC0Zb/A-Full-Render.jpg
![alt text][1]
The transparent texture is a PNG with an alpha channel:
![alt text][2]
The transparent texture is overlaid over the baseTexture, in the same exact manner that Photoshop layers work.
The final result would be a diffuse image that looks exactly like these 2 layers would appear in Photoshop: ![alt text][3] What's the most basic / fastest way to achieve this in CG shader code? [1]: /storage/temp/173273-a-basetexture.jpg [2]: /storage/temp/173274-transparentlayer.png [3]: https://i.postimg.cc/JnVYC0Zb/A-Full-Render.jpg