Author Topic: Sky Texture / Mask  (Read 2654 times)

Offline IcyFrost

  • Finest Floof
  • ***
  • Posts: 672
  • Floof-O-Meter: 25
  • what is life? life is cheese.
    • View Profile
Sky Texture / Mask
« on: June 21, 2014, 06:08:55 pm »
I've seen some people with a different sky texture and (After finally finding that thread) was wondering if I could make my own sky mask. Ex: All of the stars or different colors in the sky or something, rather than just twinkling spots.
So, I was wondering, what file could I color over to make a different looking sky mask? o,o

Because yes, everyone needs Canada in their signatures.

Offline Bawfle

  • Courage is not the absence of fear but rather the judgement that something is more important than fear.
  • Elder Grey Pelt
  • ****
  • Posts: 3,147
  • Country: gb
  • Floof-O-Meter: 344
  • The Zambisi Pride
    • View Profile
Re: Sky Texture / Mask
« Reply #1 on: June 21, 2014, 06:39:57 pm »
Well first of all you need this nebula mod then all you need to do is change the image of the nebula texture~


Pixel Doll Commissioned and Coloured by RingoKioko
Inactive // Retired // Gone

Offline IcyFrost

  • Finest Floof
  • ***
  • Posts: 672
  • Floof-O-Meter: 25
  • what is life? life is cheese.
    • View Profile
Re: Sky Texture / Mask
« Reply #2 on: June 21, 2014, 08:54:19 pm »
Yes, but that's the problem. I'm that one person who wont download anything even in my life depends on it... .-.
I was looking for a file in the FH folder which I could edit myself... xD
Still though, thanks for the suggestion, if there isn't another way, I'll try that :)

Because yes, everyone needs Canada in their signatures.

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Sky Texture / Mask
« Reply #3 on: June 22, 2014, 12:05:44 am »
I downloaded a sky mask a while ago so I'm going to use what was included to how to make a new sky mask.

In your Feralheart >> Media >> Textures folder copy and paste one of the images, making sure it's a .png file and 512x512 sized image. Rename it and edit it. I think if you use the colour black then the parts in black will show up transparent in-game.

Then in your Feralheart >> Media >> Materials folder open up the Sky.material file in Notepad. Scroll down to this part:

Code: [Select]
material Sky/SkyMat
{
receive_shadows off
technique 1
{
pass
{
lighting off
depth_write off
fog_override true
fragment_program_ref Sky_PS
{
param_named_auto skyTop custom 1
param_named_auto skyBot custom 2
}
texture_unit
{
texture skyMask.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
lighting off
depth_write off
fog_override true
texture_unit
{
colour_op_ex source1 src_manual src_manual 1 0 0 1
}
texture_unit
{
texture skyMask.png
colour_op_ex blend_texture_alpha src_current src_manual 0 1 0 1
}
}
}
}

And replace it with this:

Code: [Select]
material Sky/SkyMat
{
receive_shadows off
technique 1
{
pass
{
lighting off
depth_write off
fog_override true
fragment_program_ref Sky_PS
{
param_named_auto skyTop custom 1
param_named_auto skyBot custom 2
}
texture_unit
{
texture skyMask.png
}
}
pass
{
lighting off
depth_write off
scene_blend add
fog_override true

texture_unit
{
texture IMAGE.png
scale 0.3 0.3
tex_coord_set 0
}
}
}
technique 2
{
pass
{
lighting off
depth_write off
fog_override true

texture_unit
{
colour_op_ex source1 src_manual src_manual 1 0 0 1
}
texture_unit
{
texture skyMask.png
colour_op_ex blend_texture_alpha src_current src_manual 0 1 0 1
}
}
}
}

Where it says "texture IMAGE.png" is where you type in the name of your new sky mask. When you're done go File >> Save and it should be good to go.

Hopefully it'll turn out how you want in Feralheart :)
Will be inactive due to work and exams.

Offline IcyFrost

  • Finest Floof
  • ***
  • Posts: 672
  • Floof-O-Meter: 25
  • what is life? life is cheese.
    • View Profile
Re: Sky Texture / Mask
« Reply #4 on: June 23, 2014, 01:08:39 am »
Thanks for the help :)
I've figured it out xD
+floof

Because yes, everyone needs Canada in their signatures.

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Sky Texture / Mask
« Reply #5 on: June 23, 2014, 08:51:46 am »
Glad you got it sorted :)
Will be inactive due to work and exams.