Author Topic: Sky Maker Material?  (Read 2224 times)

Offline ShingekiNoir

  • Forum Newcomer
  • *
  • Posts: 4
  • Floof-O-Meter: 0
  • dood rampage
    • View Profile
Sky Maker Material?
« on: October 23, 2013, 10:16:20 pm »
I've been searching the forum off and on for a few days, but I haven't been able to find any solutions to how a specific option in the Sky Maker works.

if you click on "Moon" or "Sun", a Material option comes up at the bottom.

I figured I could use this to change the material of the moon, right? so I made my own texture and saved it in media/sky.

no matter where I've tried putting this texture for the moon, sky maker will NOT read it. it only says "texture.png couldn't be found!" I've also tried converting the image to a .jpg/.jpeg and not including the file extension, but nothing seems to work.

please help? thank you in advance.

note; so far I've tried putting my moon texture in media/sky, media/textures, and media/terrains

theorca55

  • Guest
Re: Sky Maker Material?
« Reply #1 on: October 23, 2013, 11:06:45 pm »
You have to make a material using the picture to get it to work. For instance, this is the moon material.

Code: [Select]
material Sky/MoonMat
{
receive_shadows off
technique
{
pass
{
lighting off
depth_write off
scene_blend add
fog_override true

texture_unit
{
texture moon.PNG
}
}
}
}

Change the picture and name of the material to whatever you wish, then save it as a .material file in Notepad. Put that in media/sky or where ever you wish. Go to the sky maker, type the material name (Sky/MoonMat) in and you're done!
« Last Edit: October 23, 2013, 11:09:04 pm by orcadolphin »

Offline ShingekiNoir

  • Forum Newcomer
  • *
  • Posts: 4
  • Floof-O-Meter: 0
  • dood rampage
    • View Profile
Re: Sky Maker Material?
« Reply #2 on: October 25, 2013, 09:12:20 pm »
oooh that's rather interesting, thank you for the reply! i'll go and try that out right now u wu