source-sdk-2013
source-sdk-2013 copied to clipboard
engine/buildcubemaps.cpp for Pbr rendering.
As buildcubemaps.cpp isn't included in the current sdk it is impossible for 2013 to support a fully physically based rendering pipeline. Cubemaps would require additional prefiltering.
When considering your next update, Could we see the ability to resample/filter cubemaps ? Or could we see cubemap capturing functionality exposed to the client so that we could implement it ourselves? alternatively I could create a pull request that adds the functionality into engine/buildcubemaps.cpp as its pretty straightforward.
We generally don't expose engine source in the SDK, and just buildcubemaps.cpp wouldn't be buildable on its own. Cubemap generation, though, is not terribly complex -- it mostly consists of changing some rendering convars (mostly turning off some props and reflections IIRC), teleporting the camera around, and copying the screen into some textures using the vtex apis. It would likely be easier and more flexible to implement your own system than adapting the (rather aged) engine code for this purpose.
We can keep the issue open for consideration, however.
Hello
I have developed an utility and a library that filters cubemaps and writes the filtered cubemaps to it's mipmap for my project a while ago, I will be cleaning it up and I'll release it soon on github to be easy to integrate in other projects, I'll attach it to this issue once this happens
@samzanemesis any luck with that so far? Could really use that for a project I'm contributing to.