- Home /
 
               Question by 
               unity_21erushbrook · Dec 09, 2020 at 11:15 AM · 
                2dlightingrenderingshaders  
              
 
              URP Lit 2D Sprite Shader Texture
Hi,
I have a texture on a sprite, but I need to change the red on the texure to a given colour (from shader property) and apply it to the sprite. For example, if I just had a red circle, I would want my shader to display that red circle but in the colour that I chose in the inspector.
That being said, I can't seem to figure out how to split colours from the texture... I want to override the red channel to something else, but I don't know how to do so.
I'm not new to shader graph, but I usually stick to HDRP and 3D, so lit 2D URP shaders are alien to me.
Here is what I have so far:

Looking forward to hearing back from someone and thanks dearly for your help, Ethan.
 
                 
                screenshot-2020-12-09-221348.png 
                (100.9 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                