Andy90 Posted May 31 Share Posted May 31 According to the discord talk here the bug report. If you take the model i sended you last time and drag it into the scene you can see some "circle" appearing within the windos. It also happens in the scene editor. Within the model viewer everything works fine. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 31 Share Posted May 31 Confirmed, I am investigating... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted May 31 Share Posted May 31 There is something strange happening. It doesn't even have to be transparent. It has something to do with the diffuse PBR reflection and the metal/roughness map I think... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted May 31 Share Posted May 31 There appears to be some small error with very low values near zero in the linear to srgb conversion... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted May 31 Share Posted May 31 Before modifying the sRGB / linear equations I think we should try storing cubemaps in linear color space. I was already planning this, but wanted to talk about it this weekend with you guys and explain the reasons for it, before making any further changes. Let's see what the result of that is after we try it, as it may eliminate this problem. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted June 2 Share Posted June 2 It's definitely being caused by the final linear to sRGB conversion. If we leave everything in linear color space it looks fine: Curved lines are visible after the linear to sRGB conversion. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted June 2 Share Posted June 2 If I ignore values below a threshold the lines go away: vec3 linearTosRGB(vec3 color, float invgamma) { const float lower = 0.001f; if (color.r > lower && color.r < 1.0f) color.r = pow(color.r, invgamma); if (color.g > lower && color.g < 1.0f) color.g = pow(color.g, invgamma); if (color.b > lower && color.b < 1.0f) color.b = pow(color.b, invgamma); return color; } Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Andy90 Posted June 3 Author Share Posted June 3 sound nice Quote Link to comment Share on other sites More sharing options...
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.