-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a new bsdf_256_256.bin #151
Comments
Hello @Contrail97 , You can just replace the .hdr file in the config, no need to recompute the bsdf_256_256.bin file. The bin file represents a lookup table for two terms in the split-sum shading model, tabulated based on cos(theta) and roughness, and is independent of the environment map. Please refer to "Real Shading in Unreal Engine 4", page 5-7 for details. https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf The included bin file has been sufficient for all our tests, but if you want to recompute it, there is code for that in the document above, see I hope this helps! |
Now I understand, This reply helps me a lot, Thanks! |
Hi @jmunkberg I understand that this bsdf_256_256.bin is independent of the environment map. However, I notice that in the original pdf this is pre-computed for BRDF( IntegrateBRDF). However, in this paper and the implementation, the used lighting model is BSDF(bidirectional scattering distribution function). I wonder whether this will make some difference to the file? Thanks in advance. |
Hello @zhao-yiqun , The lookup table represents an integration of the specular BSDF (or BRDF) of the GGX model, which is the same specular BSDF that is used in the nvdiffrec shading model. Note that the nvdiffrec code does not handle (proper specular) transmission, only specular reflection so in our case the BSDF == BRDF. Does this answer your question? |
Thank you @jmunkberg , now I understand that. |
Hi there! I need to create a new envmap from the .hdr file I just downloaded, but I can't convert the .hdr file into .bin format, is there a code or paper for such things?
The text was updated successfully, but these errors were encountered: