Qulex3 Posted August 26, 2025 Posted August 26, 2025 When I change the scene multiple times, the environment is black at the beginning of the scene. https://streamable.com/06ld0k Quote
Qulex3 Posted August 26, 2025 Author Posted August 26, 2025 hmm, I think it's related to post effects Quote
Qulex3 Posted August 26, 2025 Author Posted August 26, 2025 yeah, the reason for this is the AutoExposure effect Quote
Josh Posted August 26, 2025 Posted August 26, 2025 I need your project in order to test this. Quote Let's build cool stuff and have fun.
Josh Posted August 26, 2025 Posted August 26, 2025 Actually, this is kind of normal for the auto-exposure effect. It blends with the previous frame color, but if it's the first frame rendered, all it has is a black color to start with. It might be better if I detect the first frame and just use the current color, but there will still be some color adjustment at the beginning as the frames average out. Quote Let's build cool stuff and have fun.
Qulex3 Posted August 26, 2025 Author Posted August 26, 2025 Quote I need your project in order to test this. source file? Quote
Josh Posted August 26, 2025 Posted August 26, 2025 No, I don't need the project actually. Quote Let's build cool stuff and have fun.
Josh Posted September 3, 2025 Posted September 3, 2025 I went back to view your video again, but it is no longer available. I recommend using YouTube or another service for posting videos. Quote Let's build cool stuff and have fun.
Solution Josh Posted September 3, 2025 Solution Posted September 3, 2025 I added a FirstRender uniform int that gets set to 1 the first time a post-processing effect is added to a camera, or if the camera has been hidden or had its projection mode changed. Also modified the exposure control shader so if FirstRender is 1 it doesn't blend with the previous value. I believe this will provide the result you are expecting. Will be included in the next build. Quote Let's build cool stuff and have fun.
Qulex3 Posted September 3, 2025 Author Posted September 3, 2025 Quote I went back to view your video again, but it is no longer available. I recommend using YouTube or another service for posting videos. 1 Quote
Josh Posted September 3, 2025 Posted September 3, 2025 Yeah, I think this will work the way you are expecting in the next build. 1 Quote Let's build cool stuff and have fun.
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.