Question by 
               Hellothere_1 · May 22, 2020 at 12:08 AM · 
                shaderssurface shader  
              
 
              Local Position in Surface shader
I'm currently using a pretty standard surface shader to draw a mesh. However, I now want the shader to switch between two different textures based on the coordinate in local space. The problem is that for some reason surface shaders only seem to pass down world coordinates. Is there anything I can do to get the object coordinates, or do I need to switch the entire shader over to vertex/fragment?
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                