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

Light shadows don't always follow the vertex shader changes #15617

Closed
capnm opened this issue Jan 12, 2018 · 1 comment
Closed

Light shadows don't always follow the vertex shader changes #15617

capnm opened this issue Jan 12, 2018 · 1 comment
Assignees
Milestone

Comments

@capnm
Copy link
Contributor

capnm commented Jan 12, 2018

Godot 2cde466

The vertices of the default sphere mesh are changed in the vertex shader. Without an external
animation, the shadow does not refresh the shape. It happens in both the editor and the app.

The workaround is to add a small translation animation to the spatial node. See the test below, the translation ends after 5s:

peek 2018-01-12 02-13

@akien-mga akien-mga added this to the 3.1 milestone Jan 12, 2018
@reduz reduz self-assigned this Sep 6, 2018
@capnm
Copy link
Contributor Author

capnm commented Sep 6, 2018

The directional light works now.
image
i15617-vertex-shader-schadow.zip

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

Successfully merging a pull request may close this issue.

3 participants