Skip to content
Snippets Groups Projects
Commit 5db646d1 authored by Alexander Rose's avatar Alexander Rose
Browse files

fix marker highlight color overriding select color

parent 340f8f1a
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,8 @@ export const assign_material_color = `
#if defined(dMarkerType_uniform)
float marker = uMarker;
#elif defined(dMarkerType_groupInstance)
float marker = vMarker;
float marker = floor(vMarker * 255.0 + 0.5); // rounding required to work on some cards on win
#endif
marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win
#endif
#if defined(dRenderVariant_color)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment