jogamp.graph.curve.opengl.shader.curverenderer01-segment-head.fp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl Show documentation
Show all versions of jogl Show documentation
Java™ Binding for the OpenGL® API (Atomic Jar files)
The newest version!
//Copyright 2010 JogAmp Community. All rights reserved.
//
// 2-pass shader w/o weight
//
#if __VERSION__ >= 130
#define varying in
out vec4 mgl_FragColor;
#define texture2D texture
#else
#define mgl_FragColor gl_FragColor
#endif
#define GetSample(texUnit, texCoord, psize, cx, cy, offX, offY) texture2D(texUnit, texCoord + psize * vec2(cx+offX, cy+offY))
© 2015 - 2025 Weber Informatics LLC | Privacy Policy