Skip to content

fix: save screen space shadows enable setting#110

Merged
doodlum merged 1 commit into
community-shaders:devfrom
alandtse:sss_save
Sep 24, 2023
Merged

fix: save screen space shadows enable setting#110
doodlum merged 1 commit into
community-shaders:devfrom
alandtse:sss_save

Conversation

@alandtse
Copy link
Copy Markdown
Collaborator

No description provided.

@alandtse alandtse requested a review from doodlum September 24, 2023 21:47
@doodlum doodlum merged commit 0578973 into community-shaders:dev Sep 24, 2023
@alandtse alandtse deleted the sss_save branch June 20, 2025 17:29
alandtse pushed a commit to alandtse/open-shaders that referenced this pull request Jul 20, 2025
fix: save screen space shadows enable setting
alandtse added a commit to alandtse/open-shaders that referenced this pull request Feb 15, 2026
…ering

Implements VR menu overlay rendering using IVRCompositor::Submit hook,
providing full compatibility with OpenComposite and SteamVR.

Key Features:
- In-scene overlay rendering via submit hook (replaces OpenVR overlay API)
- IPD-based stereo convergence with asymmetric projection correction
- Multiple attach modes: HMD-relative, Controller-attached, Fixed World, None
- VR controller input with customizable button mappings
- Grip-to-drag positioning with depth control via thumbstick
- Backface culling for controller-attached overlays
- Proper HLSL shader deployment (InSceneOverlay.vs/ps.hlsl)

Technical Implementation:
- Fixed OpenVR GetProjectionRaw top/bottom swap bug (Valve issue community-shaders#110)
- DirectX row-major matrix conversion in HmdMatrix34ToMatrix
- Proper aspect ratio handling throughout rendering pipeline
- Migration system for legacy settings (Keyboard deserialization fix)
- Input guards prevent VR controls from interfering with gameplay
- Production-ready logging (debug level for diagnostics)

User Experience:
- Welcome screen with auto-hide timer and usage instructions
- VR-optimized default overlay positions (user-tested)
- Comprehensive settings UI with live controller diagnostics
- Keyboard-style button combo recording system
- Visual feedback during drag operations

OpenVR Detection:
- Runtime interface probing via VR_IsInterfaceVersionValid
- Removed file-based whitelist (obsolete)
- Compatible with OpenComposite and SteamVR

Fixes:
- Settings now properly loaded from SettingsUser.json
- Drag highlight cleared when menu closes
- All VR inputs guarded by menu open state
- Controller convergence improved with better default offsets

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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