OpenTTD Source 20241224-master-gee860a5c8e
|
OpenGL shader programs. More...
Go to the source code of this file.
Variables | |
static const char * | _vertex_shader_sprite [] |
Vertex shader that positions a sprite on screen. | |
static const char * | _vertex_shader_sprite_150 [] |
GLSL 1.50 vertex shader that positions a sprite on screen. | |
static const char * | _frag_shader_direct [] |
Fragment shader that reads the fragment colour from a 32bpp texture. | |
static const char * | _frag_shader_direct_150 [] |
GLSL 1.50 fragment shader that reads the fragment colour from a 32bpp texture. | |
static const char * | _frag_shader_palette [] |
Fragment shader that performs a palette lookup to read the colour from an 8bpp texture. | |
static const char * | _frag_shader_palette_150 [] |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from an 8bpp texture. | |
static const char * | _frag_shader_remap_func |
Fragment shader function for remap brightness modulation. | |
static const char * | _frag_shader_rgb_mask_blend [] |
Fragment shader that performs a palette lookup to read the colour from an 8bpp texture. | |
static const char * | _frag_shader_rgb_mask_blend_150 [] |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from an 8bpp texture. | |
static const char * | _frag_shader_sprite_blend [] |
Fragment shader that performs a palette lookup to read the colour from a sprite texture. | |
static const char * | _frag_shader_sprite_blend_150 [] |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from a sprite texture. | |
OpenGL shader programs.
Definition in file opengl_shader.h.
|
static |
Fragment shader that reads the fragment colour from a 32bpp texture.
Definition at line 41 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
GLSL 1.50 fragment shader that reads the fragment colour from a 32bpp texture.
Definition at line 51 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
Fragment shader that performs a palette lookup to read the colour from an 8bpp texture.
Definition at line 62 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from an 8bpp texture.
Definition at line 74 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
Fragment shader function for remap brightness modulation.
Definition at line 88 of file opengl_shader.h.
|
static |
Fragment shader that performs a palette lookup to read the colour from an 8bpp texture.
Definition at line 102 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from an 8bpp texture.
Definition at line 126 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
Fragment shader that performs a palette lookup to read the colour from a sprite texture.
Definition at line 149 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
GLSL 1.50 fragment shader that performs a palette lookup to read the colour from a sprite texture.
Definition at line 177 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
Vertex shader that positions a sprite on screen.
Definition at line 11 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().
|
static |
GLSL 1.50 vertex shader that positions a sprite on screen.
Definition at line 26 of file opengl_shader.h.
Referenced by OpenGLBackend::InitShaders().