Sweetgebus Posted March 23 Posted March 23 There seems to be a bug with the hdri to pbr script. Whenever I attempt to create a skybox with script, the materials turn into red lines. I've attempted with multiple files and received the same result. I've attached two of the files I've attempted as well as a screenshot of the suspected bug. Bugreport.rar 1 Quote
Josh Posted March 23 Posted March 23 Looks like it's probably some problem converting the floating point format to BC6H. You can see the data through the noise, it's just producing the wrong values. I will find the cause. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted March 23 Posted March 23 There is no problem with my own pixel format conversions. The problem lies in the third-party panorama to cubemap utility I used. For some reason it has trouble loading this image. I don't know why, because I think I have used this exact image in the past. I am going to replace this tool with my own reprojection code. It won't be hard. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Solution Josh Posted March 23 Solution Posted March 23 Okay, I got this worked out. The problem was simply the number of bytes per pixel for that format were not being set correctly in my integrated FreeImage EXR loader. I plan to replace the external HDRI to cube tool, but for now I will just upload the simple fix since it is working right now. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted March 23 Posted March 23 The update for this is available now. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.