Author Topic: Sky Writer in CS:GO  (Read 7234 times)

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Sky Writer in CS:GO
« on: September 23, 2012, 12:51:23 PM »
I have found that Sky Writer is not working as expected in CS:GO. I discovered this while making a new video on using some of the latest features of Wall Worm that overviews exporting a level with a 3d skybox, 2d sky, models and animated textures.

Anyway, the point here is that to export skies into CS:GO, just export them into CS:Source instead... then copy over the VMT/VTF files for your sky from the cs:s/cstrike/materials/skybox to the cs:go/csgo/materials/skybox folder. That is the solution until I figure out all the compile parameters for exporting straight into CS:GO. I had hoped that it was just as simple as using the -oldcubepath compile parameter like in L4D... but no, it simply isn't working. I also hoped that I could just pass the HDR PFM in a cube-cross format... but even though that seems promising, the sky isn't working in game that way.

Input is appreciated.

I'll hopefully release that video this week.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Re: Sky Writer in CS:GO
« Reply #1 on: March 12, 2014, 10:25:51 AM »
This is no longer true. When exporting for CS:GO, simply uncheck the Sky option in Sky Writer. This will force the VMT to be UnlitGeneric instead of Sky, which is what CSGO wants.

onur89tr

  • WW Pro
  • Jr. Member
  • *****
  • Posts: 63
  • Karma: 1
  • Acolyte
    • View Profile
Re: Sky Writer in CS:GO
« Reply #2 on: January 25, 2016, 01:32:32 PM »


What is this error?

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Re: Sky Writer in CS:GO
« Reply #3 on: January 25, 2016, 01:43:37 PM »
Some versions of Source need specific formats. So click the Old Cube Path button then export.

onur89tr

  • WW Pro
  • Jr. Member
  • *****
  • Posts: 63
  • Karma: 1
  • Acolyte
    • View Profile
Re: Sky Writer in CS:GO
« Reply #4 on: January 25, 2016, 02:10:41 PM »
It gives the error when I compiled with your setting. When I opening vtf's, I got the 2nd error in the image. In first error, says "-notga disables" What's it? I think you can solve this.


wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Re: Sky Writer in CS:GO
« Reply #5 on: January 25, 2016, 03:03:15 PM »
That message isn't an error in WW or the VTF. That is because the compiler in game you are using is going to a newer format of VTF. You might be able to fix it by updating the version of VTF Edit you are using. But there should be no need. Just use the sky you made in the game and it should work.

onur89tr

  • WW Pro
  • Jr. Member
  • *****
  • Posts: 63
  • Karma: 1
  • Acolyte
    • View Profile
Re: Sky Writer in CS:GO
« Reply #6 on: January 25, 2016, 03:07:30 PM »
I will use this map for create cubemap (reflection in materials). Is there any different way?

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3613
  • Karma: 100
  • Behind me?
    • View Profile
Re: Sky Writer in CS:GO
« Reply #7 on: January 25, 2016, 03:10:14 PM »
I'd say that you should always just use the sky in the MAP and then add cubemaps in key areas of your level and tell the materials to just use the envmap (from closest cubemap).