Skip to content

Lightmap mode to allow sky light contribution #1946

@ada-tv

Description

@ada-tv

Using indirect lightmaps with realtime direct lighting would be a great option for lightmapping, since shadows can be done in realtime without the blockiness on shadows that comes with baking direct lighting too. Realtime direct + baked indirect is a common workflow in other modern engines, and allows normal maps to function correctly with sunlight without needing a directional lightmap system.

Indirect light in the emission slot (looks great from far away but looks blurry in shadow)

Image Image

Indirect light in the lightmap slot (much sharper than the emission slot workaround, but very dark because of the lack of skylight contribution)

Image

(for comparison) AO map but no indirect lighting at all

Image

GLTF and indirect lightmap for testing with (with crushed textures to keep the file size small)
Matching sun angle is 30° vertical, -130° horizontal, screenshots taken with 3.0 sun intensity and filmic tonemapping at 1.0 exposure
bouncetest_low.zip

Serverless with this stuff already set up
https://files.thingvellir.net/bouncetest/bouncetest_low.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions