-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate selection systems / refactor helpers
adeira-source-id: 097f1489aa15c254e6eb6682d1ce5adcb236c462
- Loading branch information
1 parent
8d2077e
commit d384ef0
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@triplex/renderer-r3f": patch | ||
--- | ||
|
||
The selection outline post processing effect no longer unintentionally turns on all layers for the camera now, instead only turning on what was initially turned on. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@triplex/renderer-r3f": patch | ||
--- | ||
|
||
Selecting helper objects such as cameras and lights now participate in the mesh based selection system enabling selection cylcing and selection outlines. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Copyright (c) Michael Dougall. All rights reserved. | ||
* | ||
* This source code is licensed under the GPL-3.0 license found in the LICENSE | ||
* file in the root directory of this source tree. | ||
*/ | ||
export function PointLight() { | ||
return ( | ||
<> | ||
<pointLight scale={[3.3, 3.3, 3.3]} /> | ||
</> | ||
); | ||
} |