@@ -86,68 +86,68 @@ else()
8686 include (${ENGINE_DIR} /renderer/src.cmake)
8787endif ()
8888
89- set (GLSLSOURCELIST
89+ set (GLSL_EMBED_DIR "${ENGINE_DIR} /renderer/glsl_source" )
90+ set (GLSL_EMBED_LIST
9091 # Common shader libraries
91- ${ENGINE_DIR} /renderer/glsl_source/common.glsl
92- ${ENGINE_DIR} /renderer/glsl_source/common_cp.glsl
93- ${ENGINE_DIR} /renderer/glsl_source/fogEquation_fp.glsl
94- ${ENGINE_DIR} /renderer/glsl_source/shaderProfiler_vp.glsl
95- ${ENGINE_DIR} /renderer/glsl_source/shaderProfiler_fp.glsl
96-
92+ common.glsl
93+ common_cp.glsl
94+ fogEquation_fp.glsl
95+ shaderProfiler_vp.glsl
96+ shaderProfiler_fp.glsl
9797 # Material system shaders
98- ${ENGINE_DIR} /renderer/glsl_source/ material_cp.glsl
99- ${ENGINE_DIR} /renderer/glsl_source/ material_vp.glsl
100- ${ENGINE_DIR} /renderer/glsl_source/ material_fp.glsl
101- ${ENGINE_DIR} /renderer/glsl_source/ clearSurfaces_cp.glsl
102- ${ENGINE_DIR} /renderer/glsl_source/ cull_cp.glsl
103- ${ENGINE_DIR} /renderer/glsl_source/ depthReduction_cp.glsl
104- ${ENGINE_DIR} /renderer/glsl_source/ processSurfaces_cp.glsl
98+ material_cp.glsl
99+ material_vp.glsl
100+ material_fp.glsl
101+ clearSurfaces_cp.glsl
102+ cull_cp.glsl
103+ depthReduction_cp.glsl
104+ processSurfaces_cp.glsl
105105
106106 # Screen-space shaders
107- ${ENGINE_DIR} /renderer/glsl_source/ screenSpace_vp.glsl
108- ${ENGINE_DIR} /renderer/glsl_source/ blur_fp.glsl
109- ${ENGINE_DIR} /renderer/glsl_source/ cameraEffects_fp.glsl
110- ${ENGINE_DIR} /renderer/glsl_source/ contrast_fp.glsl
111- ${ENGINE_DIR} /renderer/glsl_source/ fogGlobal_fp.glsl
112- ${ENGINE_DIR} /renderer/glsl_source/ fxaa_fp.glsl
113- ${ENGINE_DIR} /renderer/glsl_source/ fxaa3_11_fp.glsl
114- ${ENGINE_DIR} /renderer/glsl_source/ motionblur_fp.glsl
115- ${ENGINE_DIR} /renderer/glsl_source/ ssao_fp.glsl
107+ screenSpace_vp.glsl
108+ blur_fp.glsl
109+ cameraEffects_fp.glsl
110+ contrast_fp.glsl
111+ fogGlobal_fp.glsl
112+ fxaa_fp.glsl
113+ fxaa3_11_fp.glsl
114+ motionblur_fp.glsl
115+ ssao_fp.glsl
116116
117117 # Lighting shaders
118- ${ENGINE_DIR} /renderer/glsl_source/ depthtile1_vp.glsl
119- ${ENGINE_DIR} /renderer/glsl_source/ depthtile1_fp.glsl
120- ${ENGINE_DIR} /renderer/glsl_source/ depthtile2_fp.glsl
121- ${ENGINE_DIR} /renderer/glsl_source/ lighttile_vp.glsl
122- ${ENGINE_DIR} /renderer/glsl_source/ lighttile_fp.glsl
123- ${ENGINE_DIR} /renderer/glsl_source/ computeLight_fp.glsl
124- ${ENGINE_DIR} /renderer/glsl_source/ reliefMapping_fp.glsl
118+ depthtile1_vp.glsl
119+ depthtile1_fp.glsl
120+ depthtile2_fp.glsl
121+ lighttile_vp.glsl
122+ lighttile_fp.glsl
123+ computeLight_fp.glsl
124+ reliefMapping_fp.glsl
125125
126126 # Common vertex shader libraries
127- ${ENGINE_DIR} /renderer/glsl_source/ deformVertexes_vp.glsl
128- ${ENGINE_DIR} /renderer/glsl_source/ vertexAnimation_vp.glsl
129- ${ENGINE_DIR} /renderer/glsl_source/ vertexSimple_vp.glsl
130- ${ENGINE_DIR} /renderer/glsl_source/ vertexSkinning_vp.glsl
127+ deformVertexes_vp.glsl
128+ vertexAnimation_vp.glsl
129+ vertexSimple_vp.glsl
130+ vertexSkinning_vp.glsl
131131
132132 # Regular shaders
133- ${ENGINE_DIR} /renderer/glsl_source/ fogQuake3_vp.glsl
134- ${ENGINE_DIR} /renderer/glsl_source/ fogQuake3_fp.glsl
135- ${ENGINE_DIR} /renderer/glsl_source/ generic_vp.glsl
136- ${ENGINE_DIR} /renderer/glsl_source/ generic_fp.glsl
137- ${ENGINE_DIR} /renderer/glsl_source/ heatHaze_vp.glsl
138- ${ENGINE_DIR} /renderer/glsl_source/ heatHaze_fp.glsl
139- ${ENGINE_DIR} /renderer/glsl_source/ lightMapping_vp.glsl
140- ${ENGINE_DIR} /renderer/glsl_source/ lightMapping_fp.glsl
141- ${ENGINE_DIR} /renderer/glsl_source/ liquid_vp.glsl
142- ${ENGINE_DIR} /renderer/glsl_source/ liquid_fp.glsl
143- ${ENGINE_DIR} /renderer/glsl_source/ portal_vp.glsl
144- ${ENGINE_DIR} /renderer/glsl_source/ portal_fp.glsl
145- ${ENGINE_DIR} /renderer/glsl_source/ reflection_CB_vp.glsl
146- ${ENGINE_DIR} /renderer/glsl_source/ reflection_CB_fp.glsl
147- ${ENGINE_DIR} /renderer/glsl_source/ screen_vp.glsl
148- ${ENGINE_DIR} /renderer/glsl_source/ screen_fp.glsl
149- ${ENGINE_DIR} /renderer/glsl_source/ skybox_vp.glsl
150- ${ENGINE_DIR} /renderer/glsl_source/ skybox_fp.glsl
133+ fogQuake3_vp.glsl
134+ fogQuake3_fp.glsl
135+ generic_vp.glsl
136+ generic_fp.glsl
137+ heatHaze_vp.glsl
138+ heatHaze_fp.glsl
139+ lightMapping_vp.glsl
140+ lightMapping_fp.glsl
141+ liquid_vp.glsl
142+ liquid_fp.glsl
143+ portal_vp.glsl
144+ portal_fp.glsl
145+ reflection_CB_vp.glsl
146+ reflection_CB_fp.glsl
147+ screen_vp.glsl
148+ screen_fp.glsl
149+ skybox_vp.glsl
150+ skybox_fp.glsl
151151)
152152
153153set (SERVERLIST
0 commit comments