00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 // Copyright (C) 2010 Daniele Giannetti 00012 // 00013 // This file is part of VR3Lib. 00014 // The VR3Lib is free software, but is distributed in the static precompiled 00015 // version as it is NOT open source. The VR3Lib may be used in any virtual 00016 // reality application free of charge, but it must be clearly stated that this 00017 // library is used in the application EULA and distribution license 00018 // (for both free and proprietary applications). 00020 00021 #ifndef __VR3SHADERS_H__ 00022 #define __VR3SHADERS_H__ 00023 00025 00028 struct VR3Shaders { 00029 00030 //----------------------- Default Rendering Shaders --------------------------// 00031 00039 00041 00051 static const char* FS_computeshadows; 00052 00054 00059 static const char* FS_computeshadows_token; 00060 00062 00069 static const char* FS_computeIBL; 00070 00072 00080 static const char* VS_nodisp; 00081 00083 00089 static const char* VS_disp; 00090 00092 00172 static const char* GS_disp; 00173 00175 00181 static const char* FS_FFF; 00182 00184 00190 static const char* FS_TFF; 00191 00193 00200 static const char* FS_FTF; 00201 00203 00210 static const char* FS_TTF; 00211 00213 00219 static const char* FS_FFT; 00220 00222 00228 static const char* FS_TFT; 00229 00231 00232 //---------------------- Background Rendering Shaders ------------------------// 00233 00241 00243 static const char* VS_bg2D; 00244 00246 static const char* FS_bg2D; 00247 00249 static const char* VS_bgCube; 00250 00252 static const char* FS_bgCube; 00253 00255 00256 //---------------------- Shadow Map Rendering Shaders ------------------------// 00257 00262 00264 00273 static const char* VS_shadowmap; 00274 00276 00283 static const char* FS_shadowmap; 00284 00286 00287 //---------------------------- Blurring Shaders ------------------------------// 00288 00300 00302 00303 static const char* VS_blur; 00304 00306 00310 static const char* FS_blur[2]; 00311 00313 00314 //------------------------- Text Rendering Shaders ---------------------------// 00315 00316 // windows only 00317 #if defined(_WIN32) || defined(_WIN64) 00318 00326 00328 static const char* VS_text; 00329 00331 00335 static const char* FS_text; 00336 00337 #endif 00338 00340 00341 private: 00342 00344 VR3Shaders(); 00345 00346 }; 00347 00348 #endif