LookAt
LookAt is a special Vertex Options feature that manipulates the Vertices to face towards the Camera in a billboard-like fashion. It can be used to allow your model's Eyes to always focus towards the third-person's point of view.
LookAt is considered an Advanced Feature. Therefore, it is not made for beginners.
LookAt may not behave correctly with Avatar Scaling! Therefore, you may need to do some math to account for scaling changes if opting for scaling-related Animator Parameters.
Look-At Mask
Type
: Data Texture (sRGB = Off
)
Mask slot that determines the Controls for each of the Channels defined in the Mask.
Mipmaps can create vertex-related issues on LookAt, causing possible neighboring parts to start deforming. Therefore, it may be beneficial to turn off Generate Mipmaps
for this texture.
Controls (Color Mask)
Type
: Toggle
Enables the Controls for the mentioned Mask.
The following properties below will appear for each Color Mask you are customizing the Controls for. They are independent of each other.
Alpha
Type
: Float, Range:0.0 - 1.0
Controls the overall visibility of the LookAt effect. 0
would be no effect, 0.5
would be half of the effect, and 1.0
would be the full effect.
Animate this slider when creating toggles for LookAt on this Material. Animating the Section Header will not work!
Target Up Direction
Type
: Dropdown, Options:View Dir Up
,World Up
,Camera Up
,Model Up
Sets the target upwards direction for the LookAt.
Forward Direction
Type
: Vector3
Sets the forwards direction of LookAt. By default, this would be Z = 1
, as this is the common forward direction in Unity.
Up Direction
Type
: Vector3
Sets the upwards direction of LookAt. By default, this would be Y = 1
, as this is the common upwards direction in Unity.
Pivot Position
Type
: Vector3
Sets the main Pivot of the area affected by the Mask.
View From Position
Type
: Vector3
Sets how the Pivot should focus to the camera, like a rotational offset.
Distance Falloff
Type
: Vector2
Controls the falloff distance of LookAt.
FoV Falloff
Type
: Vector2
Controls the Field of View falloff.
Max Pitch (X)
Type
: Multislider, Range:-180 - 180
Clamps the maximum rotational Pitch of the affected mask on the X-axis (Up/Down).
Max Yaw (Y)
Type
: Multislider, Range:-180 - 180
Clamps the maximum rotational Yaw of the affected mask on the Y-axis (Left/Right).
Max Roll (Z)
Type
: Multislider, Range:-180 - 180
Clamps the maximum rotational Roll of the affected mask on the Z-axis (Barrel Roll).
Visibility
Type
: ToggleWW
Enables the visibility modifier, which includes features similar to the Mirror/Camera Visibility feature. This can affect how LookAt appears either Normally, in the Mirror, or in the Camera.
Use this section to specifically control how LookAt should appear in specific scenarios.
Mode
Type
: Dropdown, Options:VRC
/Generic
Sets the behavioral mode for the LookAt visibility.
VRC
: Changes settings that cater to VRChat-specific functionality.Generic
: Changes settings that are for general usages, with limited options available.
VRC: Mode Settings
These settings below will show if Mode is set to VRC
.
Normal (Outside Mirror/Camera)
Type
: Toggle
Toggles the visibility of LookAt in a normal situation, without the requirement of a Mirror or a Camera. This will also affect the Editor preview.
Mirror (VR)
Type
: Toggle
Toggles the visibility of LookAt in the Mirror in VR.
Mirror (Desktop)
Type
: Toggle
Toggles the visibility of LookAt in the Mirror while on Desktop Mode.
Camera (VR)
Type
: Toggle
Toggles the visibility of LookAt in Cameras in VR.
Camera (Desktop)
Type
: Toggle
Toggles the visibility of LookAt in Cameras while on Desktop Mode.
Screenshot
Type
: Toggle
Toggles the visibility of LookAt in Screenshots.
Generic: Mode Settings
These settings below will show if Mode is set to Generic
.
Mirror Visibility
Type
: Dropdown, Options:Show In Both
/Show Only In Mirror
/Don't Show In Mirror
Mode to use for the LookAt visibility.
Mirror Visibility Options
Show In Both
: LookAt will be shown both outside and inside the mirror.Show Only In Mirror
: LookAt will only be shown inside the mirror.Don't Show In Mirror
: LookAt will only be shown outside the mirror.
Audio Link
Type
: Toggle
Enables AudioLink to control LookAt. This will affect ALL Alpha
properties in LookAt.
The settings in this section will only be visible when AudioLink is activated on the Material.
Alpha Band
Type
: Dropdown, Options:Bass
/Low Mid
/High Mid
/Treble
/Volume
Choice of which Band to use for the Alpha.
Alpha AudioLink
Type
: Vector2
How much to add to or subtract from the Alpha with Audio.
Modifier | Function |
---|---|
Off | Amount changed to Alpha with No Audio in Alpha Band |
On | Amount changed to Alpha with Max Audio in Alpha Band |