add crude screenshot facility (using F1 key), it can also be used for debugging start with shadows using shadowmap, not working yet add experimental 'ignore' body index in raycast, using b3HitInfo.m_m_hitResult2
15 lines
354 B
C
15 lines
354 B
C
//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
|
|
static const char* createShadowMapInstancingFragmentShader= \
|
|
"#version 330\n"
|
|
"precision highp float;\n"
|
|
"\n"
|
|
"\n"
|
|
"layout(location = 0) out float fragmentdepth;\n"
|
|
"\n"
|
|
"void main(void)\n"
|
|
"{\n"
|
|
" fragmentdepth = gl_FragCoord.z;\n"
|
|
"}\n"
|
|
"\n"
|
|
;
|