[SOLVED] Hammer - Glass rendering problem.
Hello all !
I need your help because I have a problem in the map i'm making, glass from droppers and tubes appears white (and ugly) here are screenshot. I hope you can help me 
Otherwise, make sure you've got some light, and then try to buildcubemaps. That usually causes a purple reflection if you don't have cubemaps, but maybe you ended up with a weird one from somewhere else inside the glass.

Well, I forgot to say that those are In-Game screenshots, so they are no leaks I guess.exept that one time, There was a Leak causing the compilation to stop. I fixed it so...
also they are light spots in the map...
and I don't know what buildcubemaps is ^^'
FireFusorf wrote:
Thanks for your quick reply
Well, I forgot to say that those are In-Game screenshots, so they are no leaks I guess.exept that one time, There was a Leak causing the compilation to stop. I fixed it so...also they are light spots in the map...
and I don't know what buildcubemaps is ^^'
Use the buildcubemaps command in the Developer console in the game.
To build your cubemaps in Portal 2: you will need to copy your map to the Portal 2/portal2_dlc2/maps folder and run the console command buildcubemaps. Pretty straightforward no?
It may crash after it tries to load the map again, this is fine.
Copy your map back from the dlc folder and replace your older version of the map. This is the one you would release to the community. I suggest only to build the cubemaps when you want to release the map because otherwise you will have to do it again.
. Any other ideas ?
Are you using the standard instance from the /gameplay/ or /p2editor/ folder?
EDIT : Thank you guys ! It's fixed now ! 
How ? I've just added an env_cubemaps and it worked
I think the problem was not occuring in my previous map because of the elevator instances that have env_cubemaps
Anyway thank you for the help, I hope I will publish my work soon ! 