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

Feature/player model exclusion #33

Merged
merged 2 commits into from
Nov 15, 2022
Merged

Conversation

toberge
Copy link
Collaborator

@toberge toberge commented Nov 12, 2022

DO NOT MERGE BEFORE MATCH MANAGER IS MERGED
it has been done, feel free to take a look at this

Perform bit manipulations to create correct occlusion masks :)

@toberge toberge added the feature New feature or request label Nov 12, 2022
@toberge toberge self-assigned this Nov 12, 2022
@toberge toberge force-pushed the feature/player-model-exclusion branch from 580c4ec to 18fb9a8 Compare November 14, 2022 22:14
@toberge toberge force-pushed the feature/player-model-exclusion branch from 18fb9a8 to acd29cf Compare November 14, 2022 22:19
- Set layer on player model.
- Set occlusion mask on player's camera that excludes the player's model
  and other players' gun models (when they are added) from view.
@toberge toberge force-pushed the feature/player-model-exclusion branch from acd29cf to 40664d1 Compare November 14, 2022 22:22
@toberge toberge marked this pull request as ready for review November 14, 2022 22:23
Copy link
Collaborator

@Fueredoriku Fueredoriku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10/10 looks like amog
image

Code looks good and tested succesfully on my machine. 😁👍

@Fueredoriku Fueredoriku linked an issue Nov 14, 2022 that may be closed by this pull request
@toberge toberge merged commit 36a141e into dev Nov 15, 2022
@Fueredoriku Fueredoriku deleted the feature/player-model-exclusion branch December 1, 2022 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done 🎉
Development

Successfully merging this pull request may close these issues.

Ignore player model in first-person camera
2 participants