Feral Heart

Help & Guidance => Game Help => Topic started by: ShingekiNoir on October 23, 2013, 10:16:20 pm

Title: Sky Maker Material?
Post by: ShingekiNoir 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.
(http://i.imgur.com/Ktn7sED.png)
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
Title: Re: Sky Maker Material?
Post by: theorca55 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!
Title: Re: Sky Maker Material?
Post by: ShingekiNoir 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