GL Studio C++ Runtime API
gls_es20_shaders.h
Go to the documentation of this file.
1/**! \file
2 \brief Strings for the shaders used in the effect factory.
3
4 \par Copyright Information
5
6 Copyright (c) 2017 by The DiSTI Corporation.<br>
7 11301 Corporate Blvd; Suite 100<br>
8 Orlando, Florida 32817<br>
9 USA<br>
10 <br>
11 All rights reserved.<br>
12
13 This Software contains proprietary trade secrets of DiSTI and may not be
14reproduced, in whole or part, in any form, or by any means of electronic,
15mechanical, or otherwise, without the written permission of DiSTI. Said
16permission may be derived through the purchase of applicable DiSTI product
17licenses which detail the distribution rights of this content and any
18Derivative Works based on this or other copyrighted DiSTI Software.
19
20 NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26
27 LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34EXCEED FIVE DOLLARS (US$5.00).
35
36 The aforementioned terms and restrictions are governed by the laws of the
37State of Florida and the United States of America. Use, distribution,
38duplication, or disclosure by the U. S. Government is subject to
39"Restricted Rights" as set forth in DFARS 252.227-7014(c)(1)(ii).
40
41*/
42
43#ifndef DISTI_GLS_ES20_SHADERS_H_INCLUDED
44#define DISTI_GLS_ES20_SHADERS_H_INCLUDED
45
46#include "gls_gl.h"
47
48namespace disti
49{
50/// \cond INTERNAL
51extern const GLchar* VERT_SHADER_LIGHTING_UNIFORMS;
52extern const GLchar* VERT_SHADER_LIGHTING_UNIFORMS_ONE_OR_MORE_LIGHTS;
53extern const GLchar* VERT_SHADER_CLIPPING_UNIFORMS;
54extern const GLchar* VERT_SHADER_DIFFUSE_MAP_VARYING;
55extern const GLchar* VERT_SHADER_DIFFUSE_UVW_MATRIX_UNIFORMS;
56extern const GLchar* VERT_SHADER_MAIN_BEGIN;
57extern const GLchar* VERT_SHADER_DIFFUSE_MAP_CODE;
58extern const GLchar* VERT_SHADER_DIFFUSE_UVW_MATRIX_CODE;
59extern const GLchar* VERT_SHADER_LIGHTING_BEGIN_CODE;
60extern const GLchar* VERT_SHADER_LIGHTING_DIR_LIGHT_CODE_START;
61extern const GLchar* VERT_SHADER_LIGHTING_DIR_LIGHT_CODE_END;
62extern const GLchar* VERT_SHADER_LIGHTING_POINT_LIGHT_CODE_START;
63extern const GLchar* VERT_SHADER_LIGHTING_POINT_LIGHT_CODE_END;
64extern const GLchar* VERT_SHADER_LIGHTING_FOR_LOOP_CODE;
65extern const GLchar* VERT_SHADER_LIGHTING_END_CODE;
66extern const GLchar* VERT_SHADER_CLIPPING_CODE;
67extern const GLchar* VERT_SHADER_MAIN_END;
68extern const GLchar* FRAG_SHADER_PRECISION;
69extern const GLchar* FRAG_SHADER_DIFFUSE_MAP_VARYING;
70extern const GLchar* FRAG_SHADER_DIFFUSE_MAP_UNIFORMS;
71extern const GLchar* FRAG_SHADER_CLIPPING_VARYING;
72extern const GLchar* FRAG_SHADER_MAIN_BEGIN;
73extern const GLchar* FRAG_SHADER_CLIPPING_CODE;
74extern const GLchar* FRAG_SHADER_TEXTURE_BLEND_CODE;
75extern const GLchar* FRAG_SHADER_TEXTURE_MODULATE_CODE;
76extern const GLchar* FRAG_SHADER_TEXTURE_ALPHA_CODE;
77extern const GLchar* FRAG_SHADER_TEXTURE_REPLACE_RGB_CODE;
78extern const GLchar* FRAG_SHADER_TEXTURE_REPLACE_ALPHA_CODE;
79extern const GLchar* FRAG_SHADER_ALPHA_TEST_CODE;
80extern const GLchar* FRAG_SHADER_TEXTURE_DECAL_CODE;
81extern const GLchar* FRAG_SHADER_MAIN_END;
82
83extern const GLchar* MAXLIKE_VERT_SHADER_ATTRIBUTES;
84extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_MAP_VARYING;
85extern const GLchar* MAXLIKE_VERT_SHADER_VERTEX_COLOR_VARYING;
86extern const GLchar* MAXLIKE_VERT_SHADER_DIFFUSE_UVW_MATRIX_UNIFORMS;
87extern const GLchar* MAXLIKE_VERT_SHADER_SPECULAR_UVW_MATRIX_UNIFORMS;
88extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_UVW_MATRIX_UNIFORMS;
89extern const GLchar* MAXLIKE_VERT_SHADER_NO_TEX_MATRIX_VARYING;
90extern const GLchar* MAXLIKE_VERT_SHADER_MAIN_BEGIN;
91extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_MAP_CODE;
92extern const GLchar* MAXLIKE_VERT_SHADER_DIFFUSE_UVW_MATRIX_CODE;
93extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_UVW_MATRIX_CODE;
94extern const GLchar* MAXLIKE_VERT_SHADER_SPECULAR_UVW_MATRIX_CODE;
95extern const GLchar* MAXLIKE_VERT_SHADER_NO_TEX_MATRIX_CODE;
96extern const GLchar* MAXLIKE_VERT_SHADER_VERTEX_COLOR_CODE;
97extern const GLchar* MAXLIKE_VERT_SHADER_MAIN_END;
98extern const GLchar* MAXLIKE_FRAG_SHADER_PRECISION;
99extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_UNIFORMS;
100extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_AMOUNT_UNIFORMS;
101extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_UNIFORMS;
102extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_UNIFORMS;
103extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_UNIFORMS;
104extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_AMOUNT_UNIFORMS;
105extern const GLchar* MAXLIKE_FRAG_SHADER_VERTEX_COLOR_VARYING;
106extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_AND_UVW_MATRIX_VARYING;
107extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_AND_UVW_MATRIX_VARYING;
108extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_AND_UVW_MATRIX_VARYING;
109extern const GLchar* MAXLIKE_FRAG_SHADER_NO_TEX_MATRIX_VARYING;
110extern const GLchar* MAXLIKE_FRAG_SHADER_PER_FRAG_VARYING;
111extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_UNIFORMS;
112extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_UNIFORMS_ONE_OR_MORE_LIGHTS;
113extern const GLchar* MAXLIKE_FRAG_SHADER_MAIN_BEGIN;
114extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET1;
115extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET2;
116extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET3;
117extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_NO_UVW_MATRIX_CODE;
118extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_FLIP_G_CODE;
119extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_AMOUNT_CODE;
120extern const GLchar* MAXLIKE_FRAG_SHADER_NO_NORMAL_MAP_CODE;
121extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_NO_UVW_MATRIX_CODE;
122extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_BEGIN_CODE;
123extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_FOR_LOOP_CODE;
124extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_POINT_LIGHT_CODE_START;
125extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_POINT_LIGHT_CODE_END;
126extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_DIRECTIONAL_LIGHT_CODE_START;
127extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_DIRECTIONAL_LIGHT_CODE_END;
128extern const GLchar* MAXLIKE_FRAG_SHADER_VERTEX_COLOR_CODE;
129extern const GLchar* MAXLIKE_FRAG_SHADER_NO_VERTEX_COLOR_CODE;
130extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_NO_UVW_MATRIX_CODE;
131extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_COLOR_CODE;
132extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_AMOUNT_CODE;
133extern const GLchar* MAXLIKE_FRAG_SHADER_NO_DIFFUSE_AMOUNT_CODE;
134extern const GLchar* MAXLIKE_FRAG_SHADER_NO_DIFFUSE_MAP_CODE;
135extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_CODE;
136extern const GLchar* MAXLIKE_FRAG_SHADER_NO_SPECULAR_MAP_CODE;
137extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_CODE;
138extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_WITH_SPECULAR_MAP_CODE;
139extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_NO_SPECULAR_MAP_CODE;
140extern const GLchar* MAXLIKE_FRAG_SHADER_MAIN_END;
141/// \endcond
142} // namespace disti
143
144#endif // DISTI_GLS_ES20_SHADERS_H_INCLUDED
The gls_gl.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47