Update the prepass for the bindless lightmap changes. (#16855)
The PR for bindless lightmaps didn't update `material_bind_group_slot` to be `material_and_lightmap_bind_group_slot`.
This commit is contained in:
parent
6d070871f0
commit
d51dee627f
@ -30,7 +30,7 @@ fn fragment(
|
||||
#else // MESHLET_MESH_MATERIAL_PASS
|
||||
|
||||
#ifdef BINDLESS
|
||||
let slot = mesh[in.instance_index].material_bind_group_slot;
|
||||
let slot = mesh[in.instance_index].material_and_lightmap_bind_group_slot & 0xffffu;
|
||||
let flags = pbr_bindings::material[slot].flags;
|
||||
let uv_transform = pbr_bindings::material[slot].uv_transform;
|
||||
#else // BINDLESS
|
||||
|
Loading…
Reference in New Issue
Block a user