Skip to content

fix: storm lightning shows in both eyes in VR - #545

Merged
JaXt0r merged 2 commits into
developfrom
fix/thunder-both-eyes
Nov 22, 2026
Merged

JaXt0r merged 2 commits into
developfrom
fix/thunder-both-eyes

Conversation

@BoroBongo

Copy link
Copy Markdown
Contributor

What

Storm lightning shows in both eyes in VR (G1 and G2), not only in the left one.

  • ThunderShader.shader: stereo instancing macros (UNITY_VERTEX_INPUT_INSTANCE_ID, UNITY_VERTEX_OUTPUT_STEREO, UNITY_SETUP_INSTANCE_ID, UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO) and multi_compile_instancing, like the other stereo-ready shaders (e.g. GothicBinkYUV.shader).

Why

Lost-fixes analysis 2026-11-22 (experimental branch vs develop): 9775ab320 fixed the Bink cinema and the lightning strips for single-pass instanced stereo. Only its Bink half reached main. No issue exists for it.

How to test manually

  • Headset, G1: wait for (or Marvin-set) a thunderstorm - the lightning strips show in both eyes.
  • Headset, G2: same in Khorinis or the Valley of Mines.
  • Videos (Bink cinema) still show in both eyes.

Save/load

No state.

Known gaps / follow-ups

  • Compiled in the Editor together with the other fixes of this playtest round, not play tested in the headset yet.

AI usage

Claude found the missing part by comparing the experimental branch with develop and ported it.

BoroBongo and others added 2 commits November 22, 2026 02:27
ThunderShader had no stereo instancing macros, so single-pass instanced drew the lightning strips only for the left
eye (G1 and G2 thunderstorms). Ported from the experimental branch (9775ab3); its Bink cinema half is already in
develop.
@JaXt0r
JaXt0r merged commit c3793c7 into develop Nov 22, 2026
@JaXt0r
JaXt0r deleted the fix/thunder-both-eyes branch November 22, 2026 14:01
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.

2 participants