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