-
-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Highlighters): add outline copy highlighter
A new highlighter has been added that puts an outline around the object that it is applied to. It achieves this by making a copy of the object (or a provided mesh) and puts an outline shader on the object, which is toggled on when the highlight occurs. The highlighters have also been updated to have an `active` parameter on them which is used by scripted components to know which highlighter is the one to use when found on the component (as it may be required to put multiple highlighter components onto an object to toggle on and off). The Controller Actions script has also been updated to allow the sub elements of the controller to have a custom highlighter provided for each so it can override the main highlighter if needed.
- Loading branch information
1 parent
f27da1c
commit 8dee203
Showing
17 changed files
with
1,065 additions
and
201 deletions.
There are no files selected for viewing
361 changes: 232 additions & 129 deletions
361
Assets/VRTK/Examples/005_Controller_BasicObjectGrabbing.unity
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.