Too many texture interpolators would be used for ForwardBase

Node-based Shader Editor

Too many texture interpolators would be used for ForwardBase

Postby joseguepardo » Fri Jan 26, 2018 2:30 am

I am getting this error when using more than 4 textures: Shader error in 'Visor2.0/PlaneWater': Too many texture interpolators would be used for ForwardBase pass (11 out of max 10) at line 99

Capture.JPG
Capture.JPG (146.56 KiB) Viewed 2731 times


And here are the way I have the nodes connected:

Capture.JPG
Capture.JPG (73.73 KiB) Viewed 2731 times


And when I disconnect the multiply node that comes from the 'Texture 0' it gets good again.

Capture.JPG
Capture.JPG (62.52 KiB) Viewed 2731 times


I'm using Unity 2017.1.0p3

Please help :/
joseguepardo
 
Posts: 1
Joined: Fri Jan 26, 2018 2:07 am

Re: Too many texture interpolators would be used for Forward

Postby Amplify_Borba » Fri Jan 26, 2018 12:06 pm

Hello joseguepardo, thank you for getting in touch!

What shader model are you using in your shader?

The interpolator limit is influenced both by the surface shader type and the shader model, so it might be using generating additional internal interpolators.

The only only way go around this limitation without reducing the amount of texture samplers is by using an higher shader model, or combining your textures into an array, thus reducing the amount of samplers.

Looking forward to your reply!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 82 guests