I
I
i__egor2021-12-03 06:44:32
Shaders
i__egor, 2021-12-03 06:44:32

Can't you use more than 16 textures in a unity graph shader?

The error occurs in the shader graph: Shader error in 'Master': maximum ps_5_0 sampler register index (16) exceeded at line 2458 (on d3d11)
I understand there is a limit on the number of textures (texture samplers)? type more than 16 is impossible? but then how to get around this if there are much more textures in the shader

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GFX Data, 2021-12-03
@ShockWave2048

Texture2DArray, access textures by index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question