Custom Skybox Texture

S

spunky

Guest
Hey iv been trying to make a custom skybox texture to get the process sorted

six 24bit tga files converted to vtf
six vmts containing

"UnlitGeneric"
{
// Original shader: BaseTexture
"$basetexture" "skybox/sky_test_01bk"
"$nofog" 1
$ignorez 1
}

put them all in hl2\materials\skybox

loaded hammer and they come up in the texture editor, go to map properties and put in sky_test_01

but run the map in hl2 and they dont draw..just void space that blurs as you move :\

any ideas would be cool

thanks :)
 
You compiled them with the skybox parameter, yes? And there's a bk, ft, lf, rt, up, and dn VTF as well as a bk, ft, lf, rt, up, and dn VMT?
 
not sure about compiling with the skybox parameter...i have not heard of this? but yes there is a bk, ft, lf, rt, up, and dn VTF as well as a bk, ft, lf, rt, up, and dn VMT
 
Have you made 6 txt BEFORE compiling with the names sky_test_01bk.txt, sky_test_01ft.txt etc. next to your tga and put "skybox" "1" in the txt? And then compile? Finally (and im pretty sure you did that) did you use the toolsskybox texture in your map?
 
Ok i hadnt done the 6 text files b4 compiling, just did that and still getting the same problem though iv noticed this in the console now "Unable to load sky sky_test_01" - could have been there b4 :eek:

http://homepages.ihug.co.nz/~leebarry/spunky/skybox/tga_txt.jpg
http://homepages.ihug.co.nz/~leebarry/spunky/skybox/post_compile.jpg
http://homepages.ihug.co.nz/~leebarry/spunky/skybox/hammer_3d.jpg
http://homepages.ihug.co.nz/~leebarry/spunky/skybox/obj_prop.jpg
http://homepages.ihug.co.nz/~leebarry/spunky/skybox/texture_window.jpg
http://homepages.ihug.co.nz/~leebarry/spunky/skybox/skytest_flea.jpg

just had a browse through the map compile thingy

http://homepages.ihug.co.nz/~leebarry/spunky/skybox/readout.txt

"Can't load skybox file sky_test_01 to build the default cubemap!"

they are all 1024 x 1024 images - if that helps?


guess thats my problem then :O it cant load...why would it not be able to load is the question now ;(
 
You wrote lt instead of lf for the left image.
 
could i please get a link to someone elses custom skybox? would be nice to see if i can load one that works.

thanks again!
 
Ok well my university finaly got a PC so i got hl2 crankin on there, copied my skybox from home and what do u know...it works!! :p

im guessing my install has gone bung somewhere
 
make sure you place an light_enviroment and one env_cubemap.
 
yea but to actually see the skybox you shouldnt need these..it was purely a test...and no screens sorry..its a whole buch of treebranches :p same one over and over :( ill post up my stuff when i hand in..and ill probably be converting it to DM to fit with the snarkpit comp :)
 
Back
Top