First commit! Small bug fix for cube map crashing in the player.
Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images
This commit is contained in:
@@ -136,7 +136,6 @@ void KX_BlenderMaterial::OnConstruction()
|
||||
// for each unique material...
|
||||
int i;
|
||||
for(i=0; i<mMaterial->num_enabled; i++) {
|
||||
BL_Texture::ActivateUnit(i);
|
||||
if( mMaterial->mapping[i].mapping & USEENV ) {
|
||||
if(!RAS_EXT_support._ARB_texture_cube_map) {
|
||||
spit("CubeMap textures not supported");
|
||||
|
||||
Reference in New Issue
Block a user