Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Depth Buffer and Other Goodies #17

Merged
merged 14 commits into from
Jan 24, 2024

Conversation

Froggy618157725
Copy link
Collaborator

@Froggy618157725 Froggy618157725 commented Jan 20, 2024

This adds the ability to query the depth buffer, and uses it to improve Utility object placement.
To assist with look based placement, this also adds an optional crosshair via shaders.

Moved the pickbuffer reading code into gbuffer
This will allow placing objects along sightlines
This switches how Utility objects are places and moved.
By default, Ruler will place the start where you're looking and the end at you.
Sphere will place up to 24m in front of you, stopping at the first wall.
Utiliy objects can now also be moved to where you're looking with a button.
Zip to what you're looking at with the press of a button
@cohaereo cohaereo merged commit 073ad68 into cohaereo:lightfall Jan 24, 2024
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