Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I had everything working well once i set it up. But i checked again sometime later and noticed the videos are brighter/ have their gamma turned up without me changing any settings. The mp4 isn't the issue, because it works in the test room. I tried removing and re-importing the addon but the issue persists. Any chance you know what the issue could be?

Difficult to tell without looking at the project. Possible issue could be that the modulate value got changed, or project settings changed which affect all things displayed in the project. Most of the time if the test room works and it works slightly different in a project, it’s due to the project settings or scene which it is in. You could ty creating an empty scene to see if the same effect is happening or not.

Empty scene still has the same issue. Not modulating the node, so I guess it must be a project setting somewhere. I did run the debug option for both, and the only difference is the Padding value. I don't think that should affect it though.

It actually could be a possible explanation, but most likely not. After you using the same render profile as the test room?

I think so, but I'm not sure how to check that.

The test room is in compatibility, are you using Mobile or Forward+? You can check it in the top right corner of the godot editor

That was it. I had it on foward+ and switching it to comptability fixed it. Thank you so much.

I’ll look into why this happens so Forward+ won’t have the same issue in the future ;)

(1 edit)

I found the Issue or Claude did xD.

  • In Compatibility mode: canvas_item shader COLOR output is treated as sRGB (gamma-encoded). Video YUV→RGB math produces sRGB values → correct.
  • In Forward+ mode: canvas_item shader COLOR output is treated as linear color, then the engine automatically applies sRGB conversion for display. So the already-gamma-encoded video values get gamma-corrected a second time → everything becomes too bright/washed out. The viewport/hdr_2d=true in your project settings makes this worse.

The fix is: in Forward+ mode, linearize the RGB values before writing to COLOR (undoing the video's built-in gamma), so the engine's automatic conversion brings them back to the correct sRGB result on screen. I'll add a linearize_output uniform controlled by GDScript.

This fixed it for me. Maybe it will lead you to the core fix :)

Thanks for looking into it! I’ll give it a try when I have my internet back up and running ;) (I moved recently and I’ve been without internet for the past week ^^”)

I’ll release a fix which will work in Forward+, will be in the next update ;)