Merge(Concatenate) two textures using Shader in Unity.
I have two images and I have to render those images on a cube ( I am concerned with only one plane i.e. the frontal plane of cube) such that the left 40% of the cube contains 80% of image1 and then 20% is the blended version of 20% of each image and then the rest 40% of cube has 80% of image2.(left 20% is already blended). So the scenario would be something like this
Image1(0-80%) + ( alpha image1(80-100) + (1- alpha) image2(0 - 20) ) + ( image2( 20-100%) ) Cube(0-40%) Cube(40 - 60 % ) Cube(60-100%). Can someone please suggest me some directions to solve my problem. I think i'll have to write shader but since I am new to Unity I dont have that much knowledge, though I have written shader to blend two images but can't solve this. Furthermore the textures are not static and will keep changing during runTime. Thanks in advance :-) @Owen-Reynolds
Your answer
Follow this Question
Related Questions
Execute UnityObjectToClipPos() once in surface shader? 2 Answers
Local Position in Surface shader 0 Answers
Wrong normals when object is rotated and using custom world aligned shader? 4 Answers
Problem with surface shader using uv2 1 Answer
,Help Changing a "Doom" Style Billboard Shader to a Surface Shader 0 Answers