HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Map is all white (FIXED)

View previous topic View next topic Go down 
AuthorMessage
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Map is all white (FIXED)   Mon Jan 26, 2015 12:41 am

Hi :3 (if this goes in Support please move) I've got an issue here. I've tried making a map, called Evergreen Forest. I used Slycan's map tutorial and the terrain is all white. I also used the map tutorial download as a starting base.

Material file
Spoiler:
 

Spoiler:
 

Spoiler:
 

Spoiler:
 


Any help would be greatly appreciated. Thank you!


Last edited by Cloud on Mon Feb 02, 2015 9:19 pm; edited 1 time in total
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 483
Join date : 2014-02-09
Age : 19

PostSubject: Re: Map is all white (FIXED)   Mon Jan 26, 2015 3:58 am

texture texture2.png

IT is case sensitive

texture Texture2.png

________________________________
Back to top Go down
http://azoptaos.boards.net/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Map is all white (FIXED)   Mon Jan 26, 2015 11:20 am

Okay thanks!

Edit: Okay I've made the changes. I also changed, in the .material:

Code:
texture evergreenforestmask2.png
to
Code:
texture evergreenforestterrainmask2.png

but it didn't change anything. *facepalms*
Back to top Go down
Torenok

avatar

Server : IW,Explorer Core
Male Posts : 29
Join date : 2012-03-15

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 4:27 am

Something to try might be changing the name of the Material file from Evergreen Forest.material to EvergreenForest

Hope this helps.
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 483
Join date : 2014-02-09
Age : 19

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 6:20 am

The name of the material file doesn't matter.

Do you have another texture named MainTerrainTexture or Texture1 or 2 anywhere? The game reads all of your resources, so it's really best to rename those to something specific

EDIT: Make sure your world file is capitalized. Evergreen Forest reads different than evergreen forest

________________________________
Back to top Go down
http://azoptaos.boards.net/
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 9:11 am

Actually spaces in names can cause issues. Try removing the spaces, as Torenok said. If it doesn't change anything, change them back.

I do know for a fact that portals for maps will appear white if the map has a space in the name.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 12:13 pm

Okay. When I can access my computer again I'll make these changes then edit this post with the result.

Edit: Now the Texture1.png, or renamed Evergreenforesttexture2.png, is showing up. But it's not following either terrainmask. It's like the base texture.
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 483
Join date : 2014-02-09
Age : 19

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 6:13 pm

Spaces in the material itself cause issues. The name of the actual .material file doesn't matter - considering all of my map's materials are compiled into one, I can confirm that Razz

As for portals, you need an underscore. Example: Portal/Evergreen_Forest

ANYWAY

Can you post what you have done now? I can't follow the first post with all these changes haha

________________________________
Back to top Go down
http://azoptaos.boards.net/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Map is all white (FIXED)   Tue Jan 27, 2015 7:13 pm

Okay xD I'll make the changes in the .material and post back here if ithe issue hasn't been resolved.

Here's a screenshot of the .cfg, .world, and the main folder: (also captions telling which texture was which)

Spoiler:
 

And the .material:
Code:
material Terrain/evergreenforestTerrain
{
    receive_shadows on
    technique
    {
        pass
        {
            lighting off
            texture_unit
            {
                texture Evergreenforesttexture1.jpg
                scale 0.025 0.025
            }
        }
   pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture evergreenforestterrainmask1.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Evergreenforesttexture.jpg
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
        pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture evergreenforestterrainmask2.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Evergreenforesttexture2.png
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
    }
}
material Terrain/evergreenforestwater
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off

         texture_unit
         {
            texture evergreenforestwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.01
            rotate 90
         }
         texture_unit
         {
            texture evergreenforestwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.05
            rotate 180
         }
      }
   }
}
material Portal/Evergreenforest
{
   receive_shadows off
   technique
   {
      pass
      {
         lighting off
         scene_blend add

         texture_unit
         {
            texture portalEvergreen_Forest.png
            env_map spherical
            rotate_anim 0.01
         }
      }
      pass
      {
         lighting off
         scene_blend modulate

         texture_unit
         {
            texture portalEvergreen_Forest.png
            env_map spherical
            rotate_anim 0.1         
         }
      }
   }
}

And a screenshot of the map. As you can see it's Evergreenforesttexture2.png
Spoiler:
 
Back to top Go down
Slain Motionless
Watched
avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 426
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: Map is all white (FIXED)   Wed Jan 28, 2015 1:12 am

Cloud wrote:
Okay xD I'll make the changes in the .material and post back here if ithe issue hasn't been resolved.

Here's a screenshot of the .cfg, .world, and the main folder: (also captions telling which texture was which)

Spoiler:
 

And the .material:
Code:
material Terrain/evergreenforestTerrain
{
    receive_shadows on
    technique
    {
        pass
        {
            lighting off
            texture_unit
            {
                texture Evergreenforesttexture1.jpg
                scale 0.025 0.025
            }
        }
   pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture evergreenforestterrainmask1.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Evergreenforesttexture.jpg
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
        pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture evergreenforestterrainmask2.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Evergreenforesttexture2.png
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
    }
}
material Terrain/evergreenforestwater
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off

         texture_unit
         {
            texture evergreenforestwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.01
            rotate 90
         }
         texture_unit
         {
            texture evergreenforestwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.05
            rotate 180
         }
      }
   }
}
material Portal/Evergreenforest
{
   receive_shadows off
   technique
   {
      pass
      {
         lighting off
         scene_blend add

         texture_unit
         {
            texture portalEvergreen_Forest.png
            env_map spherical
            rotate_anim 0.01
         }
      }
      pass
      {
         lighting off
         scene_blend modulate

         texture_unit
         {
            texture portalEvergreen_Forest.png
            env_map spherical
            rotate_anim 0.1         
         }
      }
   }
}

And a screenshot of the map. As you can see it's Evergreenforesttexture2.png
Spoiler:
 

Okay, the map isn't all white anymore, thats good right? Now you may change the Texture1 or texture2 to anything. If it has a different extension make sure to edit the material file! If not the game will crash(This happened to me loads of times.) Hope you have fun with your map <3
Back to top Go down
http://aroessa.proboards.com
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 483
Join date : 2014-02-09
Age : 19

PostSubject: Re: Map is all white (FIXED)   Wed Jan 28, 2015 1:47 am

What's the current issue? Is one of the masks not showing/covering the whole map? Mark where you want the mask in black and leave the rest transparent

________________________________
Back to top Go down
http://azoptaos.boards.net/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Map is all white (FIXED)   Wed Jan 28, 2015 2:00 am

The texture previously named Texture2 is covering the entire map, not following any terrainmask and no other textures are showing.


Here is a screenshot of the terrain and both masks:

Spoiler:
 
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 483
Join date : 2014-02-09
Age : 19

PostSubject: Re: Map is all white (FIXED)   Wed Jan 28, 2015 2:16 am

nonono. Don't layer it over the terrain. The masks need to be colored where you want the texture and transparent everywhere else

________________________________
Back to top Go down
http://azoptaos.boards.net/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Map is all white (FIXED)   Wed Jan 28, 2015 1:25 pm

I fixed it. Thank you so much!
Back to top Go down
 
Map is all white (FIXED)
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: