Explorar o código

fix uMarker not being updated

Alexander Rose %!s(int64=3) %!d(string=hai) anos
pai
achega
de3e819b80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 type SizeValues = Values<SizeSchema>
 
 
 export const MarkerSchema = {
 export const MarkerSchema = {
-    uMarker: UniformSpec('f', 'material'),
+    uMarker: UniformSpec('f'),
     uMarkerTexDim: UniformSpec('v2'),
     uMarkerTexDim: UniformSpec('v2'),
     tMarker: TextureSpec('image-uint8', 'alpha', 'ubyte', 'nearest'),
     tMarker: TextureSpec('image-uint8', 'alpha', 'ubyte', 'nearest'),
     dMarkerType: DefineSpec('string', ['uniform', 'groupInstance']),
     dMarkerType: DefineSpec('string', ['uniform', 'groupInstance']),