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

Feat: Projector (Tilt.lightShadowMode) #12

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

AmosHuKe
Copy link
Member

@AmosHuKe AmosHuKe commented Apr 23, 2024

Resolve #9

Usage

Tilt(
  lightShadowMode: LightShadowMode.projector,
  lightConfig: const LightConfig(
    ......
    projectorScale: 1.1,
  ),
  shadowConfig: const ShadowConfig(
    ......
    projectorScaleFrom: 1.0,
    projectorScaleTo: 1.0,
    projectorBlurSigmaFrom: 5.0,
    projectorBlurSigmaTo: 20.0,
  ),
  child: ......
),

Video

demo.mp4

@AmosHuKe AmosHuKe self-assigned this Apr 23, 2024
@AmosHuKe AmosHuKe added the c: enhancement New feature or request label Apr 23, 2024
@AmosHuKe AmosHuKe changed the title [🚧WIP] Feat: Projector (Tilt.lightShadowMode) Feat: Projector (Tilt.lightShadowMode) Jun 6, 2024
@AmosHuKe AmosHuKe marked this pull request as ready for review July 30, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] Ability to have light and shadow for png images with transparent layers.
1 participant