Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of AreaLight3D #11450

Open
RadiantUwU opened this issue Dec 30, 2024 · 0 comments
Open

Implementation of AreaLight3D #11450

RadiantUwU opened this issue Dec 30, 2024 · 0 comments

Comments

@RadiantUwU
Copy link

Describe the project you are working on

I'm currently working on a project with the sole purpose of exporting Roblox games to run inside Godot through a translation layer (as a consequence most of those games will be single-player)

Describe the problem or limitation you are having in your project

Having to implement Roblox's SurfaceLight however having no way of making this inside Godot.

Doing this requires real-time lighting, which VoxelGI and LightmapGI are unable to do, and SDFGI incurs too much of an overhead to be used here + it's not fully dynamic for meshes which is a problem.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Implementation of an AreaLight3D node. This node will have the following properties:

Vector2 size;
float range;

They are very similar to blender's AreaLight nodes.
Image

Implementation of these would be enough for me to be able to implement the SurfaceLight instance.

Note

Implementation of this would allow developers to finally not rely on emission textures with GI to fulfill this, which would prove a benefit to multiple projects with their own use cases.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Implementation of https://eheitzresearch.wordpress.com/415-2/

If this enhancement will not be used often, can it be worked around with a few lines of script?

No.

Is there a reason why this should be core and not an add-on in the asset library?

Requires modification to RenderingServer which cannot be done at this point in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant