UNPKG

molstar

Version:

A comprehensive macromolecular library.

13 lines (11 loc) 358 B
export const size_vert_params = ` #if defined(dSizeType_uniform) uniform float uSize; #elif defined(dSizeType_attribute) attribute float aSize; #elif defined(dSizeType_instance) || defined(dSizeType_group) || defined(dSizeType_groupInstance) uniform vec2 uSizeTexDim; uniform sampler2D tSize; #endif uniform float uSizeFactor; `;