Description
Using the same logic as assigning different materials to objects within the same vertex buffer, I think it's possible to pass the selectable and selected flags to the push constants, therefore, they will be passed to the fragment shader.
The fragment shader will then be responsible for displaying the graphical representation of selected objects.
Description
Using the same logic as assigning different materials to objects within the same vertex buffer, I think it's possible to pass the
selectableandselectedflags to the push constants, therefore, they will be passed to the fragment shader.The fragment shader will then be responsible for displaying the graphical representation of selected objects.