Source Filmmaker

Source Filmmaker

Custom skybox texture
Hi all,

Is there a way to create a custom texture for the skybox (which can then be loaded using sv_skyname in the console)?
< >
Showing 1-7 of 7 comments
Zappy Nov 5, 2015 @ 4:09am 
Just examine ../materials/skybox/'s contents or something.
sonosublime Nov 5, 2015 @ 7:08am 
I tried making a VTF of a simple grey image 'called sky_grey', and then made the following VMT:

"sky"
{

"$hdrcompressedTexture" "skybox/sky_grey"
"$nofog" "1"
"$ignorez" "1"
"$basetexture" "skybox/sky_grey"
"$basetexturetransform" "center 0 0 scale 1 1 rotate 0 translate 0 0"
"%keywords" "tf"
}

I placed both the VTF and VMT into usermod\materials\skybox\

However, when I try to use sv_skyname sky_grey, nothing happens, and I get the following message in the console:

material "skybox/sky_greyrt" not found.
material "skybox/sky_urb01rt" not found.
Zappy Nov 5, 2015 @ 7:15am 
Originally posted by Zappy:
Just examine ../materials/skybox/'s contents or something.
examine
verb
inspect (someone or something) thoroughly in order to determine their nature or condition.

content
noun
the things that are held or included in something.


TL;DR: I told you to examine the contents, like study what the stuff already there looks and behaves like, of the skybox material folder.

So basically copy an existing skybox and alter it to your liking.
Last edited by Zappy; Nov 5, 2015 @ 7:16am
sonosublime Nov 5, 2015 @ 9:02am 
I did copy the VTF and VMT of an existing skybox (game\tf\materials\skybox\sky_halloween_night_01_hdrup), and pasted them in the usermod folder, and then renamed them and made those edits that I listed above. But I am having trouble in getting the skybox to load in SFM.
Zappy Nov 5, 2015 @ 9:54am 
No, it's not "the VTF and VMT", it's "the VTFs and VMTs". If you had bothered to examine the skybox materials, you'd see any single skybox consists of 6 materials.
sonosublime Nov 6, 2015 @ 10:16am 
Telling someone to look through the existing materials really goes without saying. I was having trouble understanding how it all fits together and was asking for help is all.
All good anyway, managed to figure it out with help from a friend. Thanks anyway
Last edited by sonosublime; Nov 6, 2015 @ 10:16am
76561199241089454 May 14, 2022 @ 10:49pm 
Originally posted by Zappy:
Originally posted by Zappy:
Just examine ../materials/skybox/'s contents or something.
examine
verb
inspect (someone or something) thoroughly in order to determine their nature or condition.

content
noun
the things that are held or included in something.


TL;DR: I told you to examine the contents, like study what the stuff already there looks and behaves like, of the skybox material folder.

So basically copy an existing skybox and alter it to your liking.

in VMT editor?
Last edited by sfmRBLX_270; May 15, 2022 @ 12:28am
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Nov 5, 2015 @ 2:18am
Posts: 7