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

Merged
merged 14 commits into from
Dec 10, 2024
Merged

Feat: Projector (Tilt.lightShadowMode) #12

merged 14 commits into from
Dec 10, 2024

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
@AmosHuKe AmosHuKe merged commit 04f57f8 into main Dec 10, 2024
5 checks passed
@AmosHuKe AmosHuKe deleted the feat-projector branch December 10, 2024 14:52
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.
2 participants