Skip to content

Shaders: fix per-eye temporal effects and player shadow rendering - #102

Open
Jyers wants to merge 2 commits into
VisorModStudio:devfrom
Jyers:dev
Open

Jyers wants to merge 2 commits into
VisorModStudio:devfrom
Jyers:dev

Conversation

@Jyers

@Jyers Jyers commented Nov 13, 2026

Copy link
Copy Markdown

This fixes a couple issues I found while testing visor with photon shaders.

One was odd temporal behavior both with and without per-eye pipelines enabled. This was caused by the frame count / timer syncing accidentally being turned off when per-eye pipelines was on, causing each eye to have different temporal references. Fixed by keeping the syncing always on.

The second issue was the player model shadow appearing as if it was below the ground level rather than correctly rendering at the surface. This was due to the model position being transformed for per-eye camera use even when iris requests the entity position of the player model. Fixed by injecting a swap during the extraction call so it is positioned correctly for the shadow pass.

With these small tweak visor is performing about as well as I could ask for with photon, it's really quite impressive!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant