Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
No, it's not possible. Ambient occlusion seems to require phong to be enabled, and phong is only usable on the VertexLitGeneric shader. (But you could make a "map" as a model (or several models) instead, though. I know someone who has done that before, but he uses Blender now.)
Alternatively, you could render once without ambient occlusion, and then another time with "show" ambient occlusion, then multiply the two results together in a video editor. Just be aware that the 2D skybox is very glitchy, transparent objects aren't used when sampling ambient occlusion, and brushes (map surfaces) are also pretty wonky with ambient occlusion.
If not, I'll probably be making some models.
nothing else. to safe some space... perhaps. -_- i'm dunzo trying that right now. you can check +mat_texture_list's rendertargets that have usable depth data. quick i found _rt_ifm_ping and/or _rt_ifm_pong that have scene depth, but you can't flipflop them on the screen somehow. i dunno what they useful for anyway. lots of render garbage in there. very clean. 'nother idea was to shoot with a "offscreen" camera combination and a canvas and _rt_camera to get the _rt_camera's depth, but... f*ck it. there's no blend to get that alpha on screen. sheet. it's all alil buggered. damn...
Hmm, so I could convert the entire map and just toss it into a skybox in SFM?
Very interesting...
nvm... the offscreen camera depth approach found a solution. a debug material popped up in the console. i got that. lucky eyes for it. :D
attach that material to a proper canvas. and you can render out a depth video with an offscreen monitor camera. that's the trick. the depth resolution is only 8-bit tho. and it's got a glow issue. not the best but smaller result. rather then using pfm files. you can downsample and/or blur it. then do a couple of samples with an ssao shader. should do the trick, making some dirty ao. :D
sorry for necro but is there an easy way to get the smd into sfm? I glanced at this guide on how to convert it to .mdl but it looks like a really time consuming task https://steamcommunity.com/sharedfiles/filedetails/?id=245723825