Page 1 of 1

Too many texture interpolators would be used for ForwardBase

PostPosted: Fri Jan 26, 2018 2:30 am
by joseguepardo
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 2366 times


And here are the way I have the nodes connected:

Capture.JPG
Capture.JPG (73.73 KiB) Viewed 2366 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 2366 times


I'm using Unity 2017.1.0p3

Please help :/

Re: Too many texture interpolators would be used for Forward

PostPosted: Fri Jan 26, 2018 12:06 pm
by Amplify_Borba
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!