Ejemplo n.º 1
0
/*
* R_DrawSkyBox
*/
static void R_DrawSkyBox( const skydome_t *skydome, const visSkySide_t *visSides, const shader_t *skyShader,
						  const shader_t *skyboxShader, const mfog_t *fog, drawSurfaceSky_t *drawSurf ) {
	int i;
	const int skytexorder[6] = { SKYBOX_RIGHT, SKYBOX_FRONT, SKYBOX_LEFT, SKYBOX_BACK, SKYBOX_TOP, SKYBOX_BOTTOM };

	for( i = 0; i < 6; i++ )
		R_DrawSkyBoxSide( skydome, visSides + i, skyShader, skyboxShader, fog, skytexorder[i], drawSurf );
}
Ejemplo n.º 2
0
/*
* R_DrawSkyBox
*/
static void R_DrawSkyBox( const skydome_t *skydome, const visSkySide_t *visSides, const shader_t *shader )
{
	int i;
	const int skytexorder[6] = { SKYBOX_RIGHT, SKYBOX_FRONT, SKYBOX_LEFT, SKYBOX_BACK, SKYBOX_TOP, SKYBOX_BOTTOM };

	for( i = 0; i < 6; i++ )
		R_DrawSkyBoxSide( skydome, visSides + i, shader, skytexorder[i] );
}