Fix T96683: Mipmaps are inaccurate for UDIM textures
For some reasons the mipmap count was not set to max during creation. Probably it was mistaken with the UDIM tilemap texture which is only 1D and has only one mipmap.
This commit is contained in:
parent
90663acfd5
commit
78e7b20c0f
Notes:
blender-bot
2023-02-14 10:29:32 +01:00
Referenced by issue #97992, The Realize Instances node does not take object visibility into consideration. Referenced by issue #97981, Blender 3.2.0 and 3.3.0 could not be startet Referenced by issue #97956, No simultaneous Movement for NDOF Devices Referenced by issue #96683, Mipmaps are inaccurate for UDIM textures
|
@ -154,7 +154,7 @@ GPUTexture *IMB_touch_gpu_texture(
|
|||
|
||||
GPUTexture *tex;
|
||||
if (layers > 0) {
|
||||
tex = GPU_texture_create_2d_array(name, w, h, layers, 1, tex_format, NULL);
|
||||
tex = GPU_texture_create_2d_array(name, w, h, layers, 9999, tex_format, NULL);
|
||||
}
|
||||
else {
|
||||
tex = GPU_texture_create_2d(name, w, h, 9999, tex_format, NULL);
|
||||
|
|
Loading…
Reference in New Issue