- Home /
 
Pass multiple textures(array) into shader
Right now in my shader, I have 5 textures,
 Properties
     {
         _MainTex ("Texture", 2D) = "white" {}
         _MainTex2("Texture2", 2D) = "white" {}
         _MainTex3 ("Texture3", 2D) = "white" {}
             _MainTex4 ("Texture4", 2D) = "white" {}
             _MainTex5 ("Texture5", 2D) = "white" {}
     }
 
               Is that possible I can make it an array so that I dont need to declare so many textures?
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
How can I activate a shader at specific times? 2 Answers
Double Layer Material 0 Answers
Changing Eye Colour (Colour only non-white parts of a texture?) 2 Answers
How can i get my quad to only render my texture without stretching it? 1 Answer
How to render black borders around texture of simple 3D quad in c#? 0 Answers