molstar
Version:
A comprehensive macromolecular library.
29 lines (26 loc) • 690 B
JavaScript
"use strict";
/**
* Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.sum_frag = void 0;
exports.sum_frag = `
precision highp float;
precision highp int;
precision highp sampler2D;
uniform sampler2D tTexture;
precision highp isampler2D;
uniform isampler2D tTexture;
void main(void) {
gl_FragColor = texture2D(tTexture, vec2(0.5));
gl_FragColor = ivec4(texture2D(tTexture, vec2(0.5)).r);
}
`;