Source SDK - Adding reflections to your map - Advanced

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 181

  • @oscard9429
    @oscard9429 9 лет назад +285

    Your tutorials are the only source sdk tutorials that don't put me to sleep

    • @Dooge
      @Dooge 7 лет назад +2

      sdk hammer

    • @dm-lo4kx
      @dm-lo4kx 3 года назад +1

      best part is that hey are short

  • @alzanada
    @alzanada 8 лет назад +13

    Another pro tip: If you work with large reflective areas (e.g buildings, skyscrapers), try to build the cubemaps twice, so the windows on the reflections also have reflections.

  • @XaneMyers
    @XaneMyers 9 лет назад +57

    o_O What was up with those TREES at the beginning?

    • @cobbkobu
      @cobbkobu 8 лет назад +3

      I know right? They fuel my nightmares. o_o

    • @asj3419
      @asj3419 8 лет назад +7

      Solid fuel powered nightmares are very outdated and unreliable, i would recomend butane or propane nightmares.

    • @Jolyne19
      @Jolyne19 8 лет назад +1

      xD

    • @argmarc
      @argmarc 7 лет назад +5

      Insane env_wind

    • @gabriels.5556
      @gabriels.5556 5 лет назад

      @@asj3419 propane nightmares? that's a clean burning nightmare I'll tell you what

  • @stevedavid6
    @stevedavid6 10 лет назад +52

    Not the killer trees!

  • @CoolDudeClem
    @CoolDudeClem 11 лет назад

    Thanks! Now I know what a cubemap is, that's something that has had me confused for a while and I had no idea why to even use them. I'm only doing Portal 2 maps, but I can still apply what I leaned from this.

  • @ssecial
    @ssecial 11 лет назад

    You. sir, deserve a big box of Valve goodies for all the work you've done on these tutorials.

  • @clkbateman
    @clkbateman 11 лет назад

    It is great the amount of effort you put into each video. thank you. ps I phoned Gabe about a hug for you and he is more than happy to do so and will be flying over next week to deliver a hug.

  • @tsujimotoyukasuke6621
    @tsujimotoyukasuke6621 9 лет назад +44

    Why do you keep fighting the trees?

    • @SlimeyNinjaV
      @SlimeyNinjaV 9 лет назад +16

      Tsujimoto Yukasuke They're ruining everything.

    • @tsujimotoyukasuke6621
      @tsujimotoyukasuke6621 9 лет назад +13

      No trees are a beautiful- AHHH OH GOD HELP IT JUST KILLED MY SISTER!!!

    • @gabeg6781
      @gabeg6781 7 лет назад +1

      no, M R , They're running everything.

    • @scissorenthusiast8340
      @scissorenthusiast8340 7 лет назад +1

      He is dendrophobic

  • @meileetv
    @meileetv 10 лет назад +1

    What a great video, I hope this can help a lot of people! :)

  • @jasonlor9735
    @jasonlor9735 8 лет назад +7

    Well 10,000 env_cubemap module still works on an HP-15 notebook laptop... Don't mind the KB size, as that it doesn't fill 750 GB in one go.

  • @RpgBlasterRpg
    @RpgBlasterRpg 8 лет назад +35

    Tree boss fight ? lol

    • @SlinkyCoil
      @SlinkyCoil 7 лет назад

      But he said "Watch out for the tree's." In one of his videos

  • @AndryRock9217
    @AndryRock9217 10 лет назад +3

    Very good explanation! You just earned a subscriber!

  • @iiboharz
    @iiboharz 11 лет назад

    I'd like to note that the Deagle and Dual Berettas are useful for seeing how cubemaps reflect lighting onto objects because of their shiny texture and many edges.

  • @sakisanja
    @sakisanja 8 лет назад +27

    What's with the trees?

    • @Jolyne19
      @Jolyne19 8 лет назад +16

      Tree's are his enemy.

    • @joevinlui243
      @joevinlui243 8 лет назад +1

      "Kill it with fire"
      -Somewhere in one of his tutorials

    • @kipchickensout
      @kipchickensout 7 лет назад

      Joevin Lui 1. haha i remember the first part with the tree no liking him trying to parent fire to it xD 2. is Lui your last name? cause mine is :D

    • @jerry6804
      @jerry6804 6 лет назад +1

      @@joevinlui243 "..... lots of fire"

    • @realhaidinh
      @realhaidinh 5 лет назад

      ptsd vietnam war

  • @MicahJohn21659
    @MicahJohn21659 11 лет назад

    3kliksphilip:
    The Source mapping god.

  • @Euroliite
    @Euroliite 11 лет назад

    You have earned my subscription good sir.

  • @gamingclipsandstuff3680
    @gamingclipsandstuff3680 2 года назад

    the end really caught me offguard after trying to troubleshoot my cubemaps xD

  • @evilboy3521
    @evilboy3521 7 лет назад +3

    Oh i sometimes play gmod maps and they are soooo shiny, and i though it always was a bug but it was the map!

  • @soju69jinro
    @soju69jinro 5 лет назад +10

    Mentioned Ray-Tracing technique in 2013... and only in 2018-2019 nVidia is releasing them.

    • @CourierSiix
      @CourierSiix 5 лет назад +4

      Ray tracing isnt new

    • @hwhaht
      @hwhaht 4 года назад

      @@CourierSiix Real-Time Raytracing with sensible FPS is what nVidia has. Though It's existed for many years

  • @LaptopGameMan
    @LaptopGameMan 10 лет назад +5

    My doesn't work! All the time, when I write "buildcubemaps" the map is just restarts and I still don't have ANY reflections! Can u help?

    • @LaptopGameMan
      @LaptopGameMan 10 лет назад

      I'm using glasses, walls, tiles, concrete textures and buildings+ some reflective props (e.g: cars tables)

    • @LaptopGameMan
      @LaptopGameMan 10 лет назад

      3kliksphilip Here is my map.Plz take a look! Thank you! www.mediafire.com/view/ijxn0sdzs4uaosk/cs_central.vmf

    • @LaptopGameMan
      @LaptopGameMan 10 лет назад

      3kliksphilip did you see it?

    • @LaptopGameMan
      @LaptopGameMan 10 лет назад +2

      Thank you. So I have to exit to desktop and after I have to launch the game and write in the console "map cubemap" ? And yes, there are many cubemaps, because I didn't know the use of them:-)

    • @LaptopGameMan
      @LaptopGameMan 10 лет назад +2

      3kliksphilip Thank you phillip. What I learn, I learn from you and from your videos.I became a mapper,because u helped me a lot. Thank you man!

  • @yomimitsune
    @yomimitsune 11 лет назад +1

    One problem I found with cubemaps is that they don't seem to move around with the player's perspective. While I do understand that, "they're static images, they don't move", I've noticed a technique called 'Parallax corrected cubemaps', which pretty much allows the cubemap image to move and distort in order to seem like it moves with the player's perspective.
    Luckily, there's someone working on a version of that technique for the Source Engine, but it's yet to be released.

  • @SuperMrminecraftdude
    @SuperMrminecraftdude 8 лет назад +1

    When i have darker areas in my map it becomes like purple ish colour over the ground. How can i fix that if its possible?

  • @SmolBloof
    @SmolBloof 11 лет назад

    Hey 3kliks, what do you think of the new cosmetic gun skins that can be found via the Arsenal crates and such?

  • @halfwaylambda440
    @halfwaylambda440 10 лет назад +1

    my cubemap doesn't work for the water. The water it's like a invisible block and showning the outside areas and my map is inside only, can you help?

    • @doubled6490
      @doubled6490 9 лет назад

      GEORGE HORXE high shaders = reflexions

  • @dtpietrzak
    @dtpietrzak 9 лет назад

    thank you for this video. valve's webpage about cubemaps seemed underwritten to me.

  • @simonrazer8303
    @simonrazer8303 7 лет назад

    This helped me in Unity 5.

  • @genadi2850
    @genadi2850 3 года назад

    What to do if a texture has a purple checkered reflection like i am missing something?

  • @danoninho72
    @danoninho72 11 лет назад

    Hey phil i have 2 questions: i think cubemaps should be used for things that provide reflection, like a wet pavement, what other things would actually be used for? And second is there a way to add reflection to a surface besides using a cubemap, to simulate wet?

  • @TobeasJ
    @TobeasJ 11 лет назад

    Gabe is at a beach somewhere. drinking drinks with little umbrellas in them, he's been there since Half life 2 was released. HL3 is already done, and now he is debating on if he should let the world know something about it.

  • @abbin2
    @abbin2 9 лет назад

    Hey! Im making a map and get the error material "" not found in the compile log? where is the texture missing, how do i locate it?

  • @ieathyou
    @ieathyou 8 лет назад

    If you have used a Cubemap in Hammer and run the map, and after remove it, all props get dark.
    How can I bring it back to normal?

  • @tuckeredout2887
    @tuckeredout2887 4 года назад

    Those palm trees were goin fukn crazy lol

  • @disownedpear
    @disownedpear 11 лет назад

    I send you them, thanks for helping me with this weirdness.

  • @mluminoth6379
    @mluminoth6379 10 лет назад

    Thank you so much for the tutorial. but id like to know, how may i edit some of CSS's textures and my own to have this high resolution reflection effect?

  • @mreggnog9919
    @mreggnog9919 8 лет назад

    I have 2 questions. How do you get valve official maps? And can you add stuff in the sky like in aztec where a helicopter flies away?

  • @Calvinatorzcraft
    @Calvinatorzcraft 7 лет назад

    Tl;dw: cubemaps are sample images from a point in space used on shiny floors and awp scopes to simulate reflection.

  • @BurntTopato
    @BurntTopato 10 лет назад +1

    This is a stretch, but could you possibly help me fix this issue? Models in specific ares are incredibly overlit. I'm not sure if it's the cubemaps or HDR, because after disabling HDR nothing changed. I fiddled about with the environment light angle and I've not been able to find the reason. puu.sh/bmjRD/5a997efbbd.jpg

    • @BurntTopato
      @BurntTopato 10 лет назад

      Absolutely no idea.

    • @seba_mestre_ips
      @seba_mestre_ips 9 лет назад

      Adrian Thompson when you compile, you can activate an option( dont really remember where it was tho) that says "HDR+LDR(slow)" or something along those lines, that should fix your problem.

  • @WallaceMoura
    @WallaceMoura 11 лет назад

    Terrorist, Counter-Terrorist, and Counter-Trees.
    Btw, appreciated for this excellent guide sir. :)

  • @SpeedyDrawMcGraw
    @SpeedyDrawMcGraw 10 лет назад +1

    Any tips on getting cube maps to work on CS:S and Gmod? I've tried the work arounds like using mat_spectacular 0 then building and deleting the default cube maps from the map after compile but nothing seems to work.

    • @SpeedyDrawMcGraw
      @SpeedyDrawMcGraw 10 лет назад

      3kliksphilip Yeah I did that. I just now recompiled my test map with a some shiny surfaces and opened in pakrat, deleted default cubemaps, then loaded it in gmod, mat_specular 0, buildcubemaps, exit map then reload, mat_specular 1, pink and black missing cube map squares. I checked the map after that and it has the default cubemaps in it again.

    • @SpeedyDrawMcGraw
      @SpeedyDrawMcGraw 10 лет назад

      Looks like this is pakrat: puu.sh/7L5nw.jpg

    • @SpeedyDrawMcGraw
      @SpeedyDrawMcGraw 10 лет назад

      I'll update if I can get it working.

    • @SpeedyDrawMcGraw
      @SpeedyDrawMcGraw 10 лет назад

      I got it working! What I did was open the map in pakrat, delete all the material files, mat_specular 0, buildcubemaps, mat_specular 1 and reloaded.
      I followed this guide www.facepunch.com/showthread.php?t=1293081

  • @andreitrif7288
    @andreitrif7288 11 лет назад

    Hey, i was using "models/props_urban/hotel_bathroom_mirror001.mdl"
    Apparently i had to add more cubemaps into the room. Now it works but the reflections are kinda bad. They are very blurry and if you get up close you can see a "cube effect" inside the mirror.
    Thank you !

  • @danoninho72
    @danoninho72 11 лет назад

    So basically anything with a cubemap will reflect light, so as long as the environment is convincing, they will look wet (the surfaces)?

  • @idk8659
    @idk8659 7 лет назад

    how he removed the scope border at 4:52 ?

    • @kipchickensout
      @kipchickensout 7 лет назад

      idk i think with the console command cl_drawhud 0

  • @PayamNami
    @PayamNami 11 лет назад

    Philip thanks for your great videos! It seems buildcubemaps doesn't work in Source SDK 2013, is it right? it starts to get the photos of env_cubemaps, but the map size doesn't change at all. do you know how to get around this problem?

  • @m3rify
    @m3rify 11 лет назад

    Thanks for the help.

  • @SteampunkResistance
    @SteampunkResistance 11 лет назад

    Can i ask a favor? Do you know of any tutorials that show you how to make textures for this that are reflective? I used to be able to do it years ago but I've sadly forgotten lol.

    • @SteampunkResistance
      @SteampunkResistance 11 лет назад

      I tried it with my floor but it ended up being jet black =-/ And i did buildcubemaps

    • @SteampunkResistance
      @SteampunkResistance 11 лет назад

      Okay i'll take a picture, i tried restarting the entire thing it's only a simple box room so that i can get used to making envmaps again lol.

    • @SteampunkResistance
      @SteampunkResistance 11 лет назад

      Not sure if you can post links on RUclips with this new comment system..
      www.dropbox.com/s/60owsrkwczxvd38/problem.jpg

    • @SteampunkResistance
      @SteampunkResistance 11 лет назад

      Not too comfortable posting my stuff in public like this and i can't seem to find a way to send you a message xD
      Maybe i should try it with a simple model first to see if that narrows it down even further?

  • @andreitrif7288
    @andreitrif7288 11 лет назад

    Hey Philip,
    I have a question regarding this cubemaps. I've tried to make a bathroom with floor reflections and all. The problem is that my mirrors are having a strange reflections. They reflect the SkyBox even tho this is a sealed room. That is simply strange and i can not fix it :(
    Thanks for this Awesome Tutorials

  • @aidenzhang3676
    @aidenzhang3676 10 лет назад

    For some reason, a lot of my shiny props are reflecting the vertigo scenery, how do I disable this. For example, I have a truck on the map, when you look at the truck, you see the background of the map vertigo.

    • @doubled6490
      @doubled6490 9 лет назад +1

      Aiden Zhang use cubemap

    • @seba_mestre_ips
      @seba_mestre_ips 9 лет назад

      Aiden Zhang if you do not have cubemaps in your map(or they are not built or not working for some reason) reflections will show the environment map(sky texture)

    • @doubled6490
      @doubled6490 9 лет назад

      Also, It shows a vertigo everytime in SDK, but in real game, they work.

  • @disownedpear
    @disownedpear 11 лет назад

    After I added cubemaps, all the glass in the level became black. Any way to fix this?

  • @WallaceMoura
    @WallaceMoura 11 лет назад +1

    Do i need add something through Pakrat after full compile?

    • @WallaceMoura
      @WallaceMoura 11 лет назад

      Right, thanks man!

    • @NJOverclocked
      @NJOverclocked 8 лет назад

      Can a regular joe like me start making maps if I learn Source + Hammer? Or are there additional things I need to know going in?

    • @NJOverclocked
      @NJOverclocked 8 лет назад

      GuardiaNES Thanks!

  • @nudel500
    @nudel500 11 лет назад

    Hey, is there anyway to make those "prop_static"-models work, which are only shown in this purple/black-texture?

  • @nudel500
    @nudel500 11 лет назад

    well if i put those podels in my level they wont show up, nor is there a colission or anything. i restartet the hammer world editor over and over, also steam, nothing helps.

  • @andreitrif7288
    @andreitrif7288 11 лет назад

    Hey,
    Iv used "models/props_urban/hotel_bathroom_mirror001.mdl"
    Now iv added more cubemaps into the world and it appears that i have room reflections. Now the problem is that the reflections are very very blurry and there is some kind of "Cube" effect in the reflection if i look up closely
    Thanks !

  • @Zenomore.
    @Zenomore. 4 года назад

    All I am getting is a no texture reflections can anyone tell me what I am doing wrong.

  • @Celosus11
    @Celosus11 10 лет назад

    how do you make those things with the trees? :)

  • @XeviousGG
    @XeviousGG 8 лет назад

    So are cubemaps for reflections on the ground as well as reflections on the player's gun?

    • @randomcatdude
      @randomcatdude 4 года назад +1

      They're cheap reflections for almost everything, including models and world geometry.

  • @mattyl9299
    @mattyl9299 4 года назад

    I feel really silly, is there some missing step to getting cube maps to work on half life 2? or episode 2 more specifically, I've just made a small rectangular room with 1 cube map in the center with some stuff for it to reflect and this is how it goes.
    I hit compile the map loads, I open console and type buildcubemaps, the game takes its pictures and does it's thing, after that I type exit and the game closes, then I open it again, load the map and use impulse 81 to check and it never works.
    any help would be much appreciated

    • @randomcatdude
      @randomcatdude 4 года назад

      Those games have bugs that prevent the cubemaps from building properly by default. Refer to this article on the Valve Developer Wiki for a fix.
      developer.valvesoftware.com/wiki/Cubemaps#After_SteamPipe_Update

  • @blackflarez
    @blackflarez 11 лет назад

    Needs More views!

  • @exelentdude
    @exelentdude 11 лет назад

    Where did you hear of that last??

  • @luke847
    @luke847 11 лет назад

    excellent. thank you

  • @4dblock314
    @4dblock314 5 лет назад

    WHY cubemaps dont work in portal 1

  • @coolkex
    @coolkex 10 лет назад

    how do you remove the shiny shit from the map completely? i thinks it's looks so weird.

    • @coolkex
      @coolkex 10 лет назад

      and can you do it without using cubemaps?

  • @disk0__
    @disk0__ 8 лет назад

    Throwback to low energy kliks

  • @MrZacman1027
    @MrZacman1027 8 лет назад

    will this light up my tunnel thats stupid dark.

  • @TS_Mind_Swept
    @TS_Mind_Swept 2 года назад +1

    I feel like there was more subtext on this video than dialogue..

  • @Konfektionery
    @Konfektionery 2 года назад

    Does TF2 ultilize cubemaps? I can't seem to get them to show anything ingame, not even on Sniper's scope
    Edit: Think I found my answer, see reply if you're interested!

  • @Calvinatorzcraft
    @Calvinatorzcraft 7 лет назад

    Do cubemaps reflect skybox/3Dskybox

  • @jestemkaka
    @jestemkaka 11 лет назад

    Thank you!!!

  • @nopenopeagain4397
    @nopenopeagain4397 11 лет назад

    Help! My cubemaps are exploding, why?

  • @Asterisk135
    @Asterisk135 11 лет назад

    Drat. I just denounced something in your other video that was rectified in this one. Sorry to add to the clutter of your comments section. Oh and great video.

  • @2e0
    @2e0 7 лет назад

    Thank you.

  • @Bawbalicious
    @Bawbalicious 11 лет назад

    Also remember that cubemaps are linked to the name of your map:
    If you rename a map with its cubemaps already built, it will be undone.

  • @koldproxy
    @koldproxy 11 лет назад

    Thanks for the video, although with the SteamPipe update, cubemaps won't simply work again.

  • @benwright284
    @benwright284 9 лет назад +6

    using cubemap spam from now on

    • @Dooge
      @Dooge 8 лет назад +2

      put a cube map on every unit of the map, reflections 2 realistic

    • @TheBreakingBenny
      @TheBreakingBenny 7 лет назад +1

      I pray that Source 2 will make cubemapping obsolete.

    • @lukkkasz323
      @lukkkasz323 6 лет назад

      Source 2, i think we'll never see SDK for this one.

    • @randomcatdude
      @randomcatdude 4 года назад

      @@TheBreakingBenny Source 2 still uses cubemaps, but it improves them alot using a technique known as Parallax Corrected Cubemaps.

    • @TheBreakingBenny
      @TheBreakingBenny 4 года назад

      @@randomcatdude How would one go about doing those? There needs to be a proper tutorial on that.

  • @Maroki06
    @Maroki06 8 лет назад +5

    DEEZ TREEZ

  • @Evaldas256
    @Evaldas256 11 лет назад

    Sweet! :3

  • @0xs
    @0xs 7 лет назад

    THE TREES ARE AFTER US ALL

  • @RedKryptonGames
    @RedKryptonGames 11 лет назад

    Thank god Valve is finally working on the Source Engine 2!
    I don't have any problem with source, but the engine is really out of date.

  • @Bouzery
    @Bouzery 11 лет назад

    TREES. THEY ARE OUT FOR YOU.

  • @exelentdude
    @exelentdude 11 лет назад

    No, i was talking about the techniques you showcased in this video. not your PC. i don't know how powerful it is :/

  • @doubled6490
    @doubled6490 9 лет назад

    trees in CSS are even more deadly than doors!

    • @cobbkobu
      @cobbkobu 8 лет назад +1

      XD "DOOR STUCK!"

    • @Jolyne19
      @Jolyne19 8 лет назад +1

      DOOR STUCK, DOOR STUCK, PLEASE... I BEG YOU!

  • @TelemanNers
    @TelemanNers 11 лет назад

    Wouldn't be Philip's video if it didn't have the trees explode at the end.

  • @disownedpear
    @disownedpear 11 лет назад

    I mean the glass texture turned solid black.

  • @mgaborio
    @mgaborio 11 лет назад

    The trees always win

  • @TheMessengersCree
    @TheMessengersCree 11 лет назад

    THE TREEEEE

  • @Aaron31909
    @Aaron31909 11 лет назад

    M. Night Shyamalan would be proud.

  • @Crowbar
    @Crowbar 11 лет назад

    at least he should get something like a "community contributer" coin or something, or a badge or whatever

  • @rzchzrdgznzzlzs2255
    @rzchzrdgznzzlzs2255 7 лет назад

    Update fellas - to buildcubemaps you gotta add -insecure to your csgo launch options.

  • @StarioSenpai
    @StarioSenpai 11 лет назад

    Or Episode 3.

  • @cristian2452
    @cristian2452 11 лет назад

    you like trees?

  • @Neox999
    @Neox999 11 лет назад

    Another way to solve such a problem is just to change the floor texture at problematic places :)

  • @PlayPrey
    @PlayPrey 11 лет назад

    BUT I DO WANT IT TO BE PRETTY!

  • @francez123456789
    @francez123456789 10 лет назад +2

    trees op

  • @jimmylander2089
    @jimmylander2089 7 лет назад +6

    I hate cubemaps, I hate them with a passion. They are buggy, messy and cheap af.

    • @thefoolishgmodcube2644
      @thefoolishgmodcube2644 7 лет назад

      Jimmy Lander and not working without doing a bunch of shit instead of buildcubemaps

  • @QuilavaKing
    @QuilavaKing 11 лет назад

    Because the trees exploded. It was stupid, I agree. lol

  • @rockoman100
    @rockoman100 11 лет назад

    Do super advanced version showing how to give textures the real-time reflective properties of water, as demonstrated in this old demo of mine: /watch?v=rkz_DwFDzgA

  • @Xyos212
    @Xyos212 11 лет назад

    I hate how Source handles reflections. Dark areas reflections light up like a christmas tree, almost looking like its illuminating the room. In normal lighting conditions they are barely visible. Valve really needs to get Source 2 out soon for the sake of visual fidelity and ease of use!

  • @exelentdude
    @exelentdude 11 лет назад

    Yeah well. by any means they should focus on Source 2 being real-time-ish. with optional optimizations f those with crappy PCs such as in this video.
    I mean they should've already realized that gamers want to get most of their PCs.

  • @EwDirt
    @EwDirt 10 лет назад

    You and you're dang trees.

    • @kipchickensout
      @kipchickensout 7 лет назад

      Ew Dirt i know, 3 years, but *your* xD :D

  • @TheCat333
    @TheCat333 11 лет назад

    The...... The TREES found me.... /watch?v=ZFXBOye5-dE but luckily i was recording so everyone can know what they are becoming.

  • @MrRobotrax
    @MrRobotrax 6 лет назад

    1000th like!!