Advertisement
illwieckz

sunshader???

Feb 19th, 2018
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. $ grep -r sunShader src
  2. src/engine/renderer/tr_bsp.cpp: if ( tr.sunShaderName )
  3. src/engine/renderer/tr_bsp.cpp: tr.sunShader = R_FindShader( tr.sunShaderName, shaderType_t::SHADER_3D_STATIC, RSF_DEFAULT );
  4. src/engine/renderer/tr_local.h: shader_t *sunShader;
  5. src/engine/renderer/tr_local.h: char *sunShaderName;
  6. src/engine/renderer/tr_shader.cpp: RB: don't call tr.sunShader = R_FindShader(token, SHADER_3D_STATIC, RSF_DEFAULT);
  7. src/engine/renderer/tr_shader.cpp: tr.sunShaderName = (char*) ri.Hunk_Alloc( sizeof( char ) * tokenLen, ha_pref::h_low );
  8. src/engine/renderer/tr_shader.cpp: Q_strncpyz( tr.sunShaderName, token, tokenLen );
  9. 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