GoldenEye: Source Forums

  • May 22, 2012, 08:05:17 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2   Go Down

Author Topic: Reflections  (Read 285 times)

0 Members and 1 Guest are viewing this topic.

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Reflections
« on: February 21, 2012, 05:54:04 PM »

I noticed that the windows and other reflective materials in my level doesn't reflect anything at all. I did put an env_cubemap in front of all of them but still no reflections. For the reflective textures vmt files, I'm using this example:

"VertexLitGeneric"   OR   "LightmappedGeneric"
{
     "$basetexture" "Folder\NameOfTexture"
     "$surfaceprop" "material"
     "$envmap" "env_cubemap"
}

And for the windows, I guess I should check out the entity's func_breakable_surf settings.
Logged
Currently in Progress : ge_mi6 hq

Sam Colt

  • Secret Agent
  • **
  • Posts: 127
  • Reputation Power: 16
  • Sam Colt is working their way up.Sam Colt is working their way up.Sam Colt is working their way up.
  • Offline Offline
Re: Reflections
« Reply #1 on: February 21, 2012, 06:14:09 PM »

Did you build the cubemaps though? You need to go through the steps of building them for reflective surfaces to show up.
Logged

Completed: twine_mi6.

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #2 on: February 21, 2012, 06:21:30 PM »

Did you build the cubemaps though? You need to go through the steps of building them for reflective surfaces to show up.
Oh! I didn't know that. Lol, Thanks.
Logged
Currently in Progress : ge_mi6 hq

Sam Colt

  • Secret Agent
  • **
  • Posts: 127
  • Reputation Power: 16
  • Sam Colt is working their way up.Sam Colt is working their way up.Sam Colt is working their way up.
  • Offline Offline
Re: Reflections
« Reply #3 on: February 22, 2012, 01:11:33 AM »

You're very welcome
Logged

Completed: twine_mi6.

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #4 on: February 22, 2012, 01:46:18 AM »

Still doesn't work. I'm not sure what to choose from the cubemap size and I tried to directly attach the brushes to the cubemap but it doesn't seem to work.
Logged
Currently in Progress : ge_mi6 hq

Sam Colt

  • Secret Agent
  • **
  • Posts: 127
  • Reputation Power: 16
  • Sam Colt is working their way up.Sam Colt is working their way up.Sam Colt is working their way up.
  • Offline Offline
Re: Reflections
« Reply #5 on: February 22, 2012, 03:26:11 AM »

The only times I've done it, following Loafies example here ( http://forums.geshl2.com/index.php/topic,3321.0.html  ) have worked fine. You need to put at least one env_cubemap per room for it to work though, maybe more depending on how rooms are divided, I'm not sure. Anyway, this is what he said:


There's a lot of confusion about the correct way to compile cubemaps for HDR. Here's a quick rundown of commands to put in the developer console to get them quick, easy, and correctly.Enter these commands in this order:
buildcubemaps [This is to build cubemaps in HDR]
mat_hdr_level 0 [This sets your lighting to LDR only, but won't take effect until...]
map ge_yourmap [You need to reload your map, and using the map command will properly dis/reconnect you]
buildcubemaps [Build us some LDR cubemaps!]
mat_hdr_level 2 [Reset your HDR]
map ge_yourmap [Another disconnect and reload of your map to properly fire up HDR]

and presto, super sexy cubemaps! Hop to it!)
Logged

Completed: twine_mi6.

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #6 on: February 22, 2012, 06:02:35 PM »

The only times I've done it, following Loafies example here ( http://forums.geshl2.com/index.php/topic,3321.0.html  ) have worked fine. You need to put at least one env_cubemap per room for it to work though, maybe more depending on how rooms are divided, I'm not sure. Anyway, this is what he said:


There's a lot of confusion about the correct way to compile cubemaps for HDR. Here's a quick rundown of commands to put in the developer console to get them quick, easy, and correctly.Enter these commands in this order:
buildcubemaps [This is to build cubemaps in HDR]
mat_hdr_level 0 [This sets your lighting to LDR only, but won't take effect until...]
map ge_yourmap [You need to reload your map, and using the map command will properly dis/reconnect you]
buildcubemaps [Build us some LDR cubemaps!]
mat_hdr_level 2 [Reset your HDR]
map ge_yourmap [Another disconnect and reload of your map to properly fire up HDR]

and presto, super sexy cubemaps! Hop to it!)
Thank you really much. Sorry to ask this question but, what is the delevoper's console ??
Logged
Currently in Progress : ge_mi6 hq

Luchador

  • Lead Developer
  • 00 Agent
  • ***
  • Posts: 302
  • Reputation Power: 17
  • Luchador is working their way up.Luchador is working their way up.Luchador is working their way up.
  • Offline Offline
    • My Website
Re: Reflections
« Reply #7 on: February 22, 2012, 06:31:49 PM »

The developer console lets you type in commands. It's accessed with the ~ key. You might need to enable it by going to
 options->keyboard->advanced->Enable developer console

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #8 on: February 22, 2012, 10:34:11 PM »

The developer console lets you type in commands. It's accessed with the ~ key. You might need to enable it by going to
 options->keyboard->advanced->Enable developer console
I enabled it but nothing happens when I press the "~" key. I tried writting it into the chat box too but still nothing. I might look retarded but I really need precise informations lol.
Logged
Currently in Progress : ge_mi6 hq

Sam Colt

  • Secret Agent
  • **
  • Posts: 127
  • Reputation Power: 16
  • Sam Colt is working their way up.Sam Colt is working their way up.Sam Colt is working their way up.
  • Offline Offline
Re: Reflections
« Reply #9 on: February 22, 2012, 10:42:54 PM »

Check to see if the key is bound, if you haven't already.
Logged

Completed: twine_mi6.

terps4life90

  • 00 Agent
  • ***
  • Posts: 387
  • Reputation Power: 25
  • terps4life90 is on the verge of being accepted.terps4life90 is on the verge of being accepted.terps4life90 is on the verge of being accepted.terps4life90 is on the verge of being accepted.terps4life90 is on the verge of being accepted.
  • Offline Offline
Re: Reflections
« Reply #10 on: February 22, 2012, 10:44:59 PM »

I too, want to know what this "developer console" is....(shifty eyes) LOL!
Logged

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #11 on: February 22, 2012, 11:14:27 PM »

I too, want to know what this "developer console" is....(shifty eyes) LOL!
Yeah. That's so funny.
Logged
Currently in Progress : ge_mi6 hq

kraid

  • Game Artist
  • 007
  • ****
  • Posts: 1,352
  • Reputation Power: 11
  • kraid barely matters.kraid barely matters.
  • Offline Offline
    • my Homepage
Re: Reflections
« Reply #12 on: February 25, 2012, 12:22:20 AM »

If you wanna use func_breakable_surf you also should use one of the default breakable surf materials for it, otherwise you might end up with very strange results.
Building a own (working) breakable_surf texture is somewhat more complicated and you might not even need to do that for your map, because in most cases you're just fine with the default ones.

As for the developer console, it never worked for me to enable it with the ingame option, i always use the -console command in the startup options.
Logged

Boris_Crack

  • Secret Agent
  • **
  • Posts: 104
  • Reputation Power: 9
  • Boris_Crack has no influence.
  • Offline Offline
Re: Reflections
« Reply #13 on: February 28, 2012, 03:26:15 PM »

Nevermind guys, I even tried checking videos on youtube on how to do it and I just can't make it work. I'll just have no reflections in my map that's it, it's too damn complicated just for making your env_cubemaps work...
Logged
Currently in Progress : ge_mi6 hq

The Cy

  • Quality Assurance Tester
  • 00 Agent
  • ***
  • Posts: 403
  • Reputation Power: 21
  • The Cy might someday be someone...The Cy might someday be someone...The Cy might someday be someone...The Cy might someday be someone...
  • Offline Offline
Re: Reflections
« Reply #14 on: February 28, 2012, 05:28:29 PM »

Nevermind guys, I even tried checking videos on youtube on how to do it and I just can't make it work. I'll just have no reflections in my map that's it, it's too damn complicated just for making your env_cubemaps work...

its not that hard, even I can do it. ;-)  1. here´s how you can active your console in game: activate steam, go to your game list, right click on goldeneye 4.1, choose properties, click on "set launch options" and type -console and click "ok". this will show you your console when you`re starting the game. just let the console stay there. you can return to your console again in game by clicking esc.
2. for showing your cubemaps just try this out: create a simple brush and texture it with a reflective material, a marble texture for example. then put a cubemap next to it, as high as a player model. then compile your map with hdr enabled. when you´re in game, write buildcubemaps in command;. this should active your cubemaps. after that load your map again. and then you should see reflections on that brush.
Logged


W.I.P: ge_funhouse_v4. finished: cy_funhouse v3 Download: http://wiki.goldeneyesource.net/index.php/Cy_Funhouse
Pages: [1] 2   Go Up