Skip to content

Add X-Ray (Model Transparency) in View Mode - #648

Open
Crosshair97 wants to merge 2 commits into
dgud:masterfrom
Crosshair97:feature/xray-toggle
Open

Add X-Ray (Model Transparency) in View Mode#648
Crosshair97 wants to merge 2 commits into
dgud:masterfrom
Crosshair97:feature/xray-toggle

Conversation

@Crosshair97

@Crosshair97 Crosshair97 commented Aug 28, 2026

Copy link
Copy Markdown

this pull request introduces a togglable "X-Ray Mode" to the View menu. it allows for soft, semi-transparent rendering of the mesh.

changes:

  • added xray toggle to the view menu and initial properties in wings_view.erl.

  • updated render_objects/4 in wings_render.erl to apply gl:blendFunc and gl:blendColor when the xray property is true, bypassing the depth mask for a soft transparency effect.

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