UNPKG

molstar

Version:

A comprehensive macromolecular library.

33 lines (26 loc) 650 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.image_vert = void 0; /** * Copyright (c) 2020-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ exports.image_vert = ` precision highp float; precision highp int; #include common #include common_vert_params attribute vec3 aPosition; attribute vec2 aUv; attribute mat4 aTransform; attribute float aInstance; varying vec2 vUv; varying float vInstance; void main() { int vertexId = VertexID; #include assign_position vUv = aUv; vInstance = aInstance; } `;