Skip to content

Commit

Permalink
fix(shadertools): Correct order of uniforms in picking module (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored Jan 3, 2024
1 parent 8c9c211 commit f31ef64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/shadertools/src/modules/engine/picking/picking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,16 @@ export const picking: ShaderModule<PickingProps, PickingUniforms> = {
uniformTypes: {
isActive: 'f32',
isAttribute: 'f32',
useFloatColors: 'f32',
isHighlightActive: 'f32',
useFloatColors: 'f32',
highlightedObjectColor: 'vec3<f32>',
highlightColor: 'vec4<f32>'
},
defaultUniforms: {
isActive: false,
isAttribute: false,
useFloatColors: true,
isHighlightActive: false,
useFloatColors: true,
highlightedObjectColor: new Float32Array([0, 0, 0]),
highlightColor: DEFAULT_HIGHLIGHT_COLOR
},
Expand Down

0 comments on commit f31ef64

Please sign in to comment.