Browse Source

fix uMarker not being updated

Alexander Rose 3 years ago
parent
commit
de3e819b80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-gl/renderable/schema.ts

+ 1 - 1
src/mol-gl/renderable/schema.ts

@@ -210,7 +210,7 @@ export type SizeSchema = typeof SizeSchema
 export type SizeValues = Values<SizeSchema>
 
 export const MarkerSchema = {
-    uMarker: UniformSpec('f', 'material'),
+    uMarker: UniformSpec('f'),
     uMarkerTexDim: UniformSpec('v2'),
     tMarker: TextureSpec('image-uint8', 'alpha', 'ubyte', 'nearest'),
     dMarkerType: DefineSpec('string', ['uniform', 'groupInstance']),