Page MenuHome

I can only use 4 UDIM textures
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 23:08, hash: rB3edd8d5b075a
Worked: (optional)

Short description of error
In a material only 4 UDIM Textures work. The 5th UDIM cause error.

Exact steps for others to reproduce the error

  1. Please unzip the attached file .
  2. Open attached blend file.
  3. The box is pink ( error due to 5 UDIM texture)
  4. Please remove any UDIM texture in shader window. No error.
  5. So, I think blender can only handle maximum 4 UDIM textures.

Thanks you.

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from Developers.Jan 15 2020, 3:17 PM

I am getting:

GPUShader: error: too many samplers in shader.

The max number reported for me (nvidia 970m) is:

GPU_max_textures 192

Afaics, there are 5 UDIM textures (with 5 2048px x 2048px tiles each) in place here.
Not sure how/if these are split up internally here.

@Clément Foucault (fclem), @Lukas Stockner (lukasstockner97) : why are we reaching the limit with this shader?

This is a limitation @Lukas Stockner (lukasstockner97) is planning to lift with some patch. Should be included for final release.

The reason is because eevee also use many samplers on its own before using user textures. Also you should look at GPU_max_textures_frag which is around 24 on high end hardware.

Tagging with 2.82 since there is an accepted fix, so I guess there is no reason to leave it out.

Philipp Oeser (lichtwerk) changed the task status from Needs Information from Developers to Confirmed.Jan 15 2020, 5:59 PM
Evan Wilson (EAW) changed the subtype of this task from "Report" to "Bug".Jan 15 2020, 6:16 PM

Just adding the bug subtype tag since it is confirmed with an accepted dif, in order to match the others on the work board.