Go to the source code of this file.
◆ DEFAULT_PS
Value: "void main() \n" \
"{ \n" \
" pix_out = texture(tex1, xUV1) * xCol; \n" \
"} \n"
◆ DEFAULT_VS
Value: "void main() \n" \
"{ \n" \
" float p = 1.0 / inPos.z; \n" \
" gl_Position = p * vec4(inPos.x, inPos.y, 0.0, 1.0); \n" \
" xUV1 = p * inUV1; \n" \
" xCol = inCol; \n" \
"} \n"
◆ OLC_GFX_OPENGL33
◆ OLC_PGEX_SHADER_H
#define OLC_PGEX_SHADER_H |
◆ OLC_USING_PGEX_SHADER
#define OLC_USING_PGEX_SHADER |
◆ SHADER_HEADER
#define SHADER_HEADER "#version 330 core \n" |