Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ grep -r sunShader src
- src/engine/renderer/tr_bsp.cpp: if ( tr.sunShaderName )
- src/engine/renderer/tr_bsp.cpp: tr.sunShader = R_FindShader( tr.sunShaderName, shaderType_t::SHADER_3D_STATIC, RSF_DEFAULT );
- src/engine/renderer/tr_local.h: shader_t *sunShader;
- src/engine/renderer/tr_local.h: char *sunShaderName;
- src/engine/renderer/tr_shader.cpp: RB: don't call tr.sunShader = R_FindShader(token, SHADER_3D_STATIC, RSF_DEFAULT);
- src/engine/renderer/tr_shader.cpp: tr.sunShaderName = (char*) ri.Hunk_Alloc( sizeof( char ) * tokenLen, ha_pref::h_low );
- src/engine/renderer/tr_shader.cpp: Q_strncpyz( tr.sunShaderName, token, tokenLen );
- src/engine/renderer/tr_shader.cpp: tr.sunShader = R_FindShader( "sun", shaderType_t::SHADER_3D_DYNAMIC, RSF_DEFAULT );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement