molstar
Version:
A comprehensive macromolecular library.
20 lines (17 loc) • 505 B
JavaScript
/**
* Copyright (c) 2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Gianluca Tomasello <giagitom@gmail.com>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.evaluateDpoit_frag = void 0;
exports.evaluateDpoit_frag = `
precision highp float;
uniform sampler2D tDpoitFrontColor;
uniform vec2 uTexSize;
void main() {
vec2 coords = gl_FragCoord.xy / uTexSize;
gl_FragColor = texture2D(tDpoitFrontColor, coords);
}
`;
;