+1 vote

Hello There.

I have an idea to change midlevel of game rasterizer brightness, into float value, but I don't actually know, where I should start.

Sorry for my English.

in Engine by (18 points)

What's your end goal? Do you want to make the game brighter/darker? If this is a 3D game, you can use the WorldEnvironment node, add an Environment resource and enable the Adjustments property. You can then adjust the 3D scene's brightness, contrast and saturation.

In 2D, you can use a CanvasModulate node. Color values above 1 will effectively brighten the scene.

I want to make some thing like this:

if you are in complitly dark place, value is [0.000], but when in on screen comes some thing bright, like small cube, then value is change to: [90% of screen = 0.00, + 10% of screen = 20(cube is emiting light)] => 2.00

its poorly explained by me.. :/

i want to convert space scenes light intencity to value. Becouse then i will convert it to sound.. I know how do that next step (Value to Sound), but this first not really.

Again, sorry for my English.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.