ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.77k stars 2k forks source link

[Feature Request] Adding func_detail_blocker entity to Source SDK 2013 #198

Open Gambini007 opened 11 years ago

Gambini007 commented 11 years ago

In Source SDK 2013 detail sprites seem to go beyond the displacement´s surface. This makes sprites be in unsuitable places like tiles floors, etc.

There´s a brush entity on Portal 2, Alien Swarm, Left 4 Dead 2, Left 4 Dead, Counter-Strike: Global Offensive and Nuclear Dawn, named func_detail_blocker that prevents detail sprites to be generated within its volume. This would solve the new issue and allow much better control over detail sprites.

https://developer.valvesoftware.com/wiki/Func_detail_blocker

alanedwardes commented 11 years ago

I'd be interested in seeing this too.

stencg commented 10 years ago

It would be very handy.

wouterpleizier commented 10 years ago

If you're still interested, I've just implemented this entity myself: https://github.com/wouterpleizier/source-sdk-2013

You can also download a built version here: https://dl.dropboxusercontent.com/u/21757911/vbsp-funcdetailblocker.zip

Gambini007 commented 10 years ago

I am definetely interested but chrome doesn´t let me download the file because it says it´s dangerous. Would you upload it as rar, zip or 7z?

Also, I´m currently using a custom vbsp which fixes the bug that prevents cubemaps to be built. Are you aware of it? Is there any chance to merge both things? Thanks for your help!

wouterpleizier commented 10 years ago

No problem, I've updated the link.

You're talking about this VBSP, right? I've just added the same fix. It's in the built version too. edit: I decided it would be neater to have this as a command line option, so with the latest version you need to use -nodefaultcubemap in order to disable default cubemap creation.