Skip to content

Visible nodes for the player camera are also invisible in shadows [BUG] #8

@HytopiaGameDev

Description

@HytopiaGameDev

What were you trying to do, what did you expect to happen?
Setting the head to be hidden for a first person game should cause the head to be invisible, but visible in shadows.

What actually happened?
The head is invisible, but also doesn't cast a shadow

To Reproduce
Spawn a player entity in first person mode like this:

player.camera.setMode(PlayerCameraMode.FIRST_PERSON);
player.camera.setOffset({ x: 0, y: 0.6, z: 0 });
player.camera.setModelHiddenNodes(["head"]);

Then look at the shadow of yourself.

Screenshots
image
(it's not super clear in this screenshot, but my head does not cast a shadow)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions