Skip to main content
Version: 10.0

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.

Breaks with Avatar Scaling!

LookAt does not behave correctly with Avatar Scaling due to shader limitations! Therefore, you may need to do some math to account for scaling changes if opting for scaling-related Animator Parameters.

Look-At Mask​

Type
Texture Slot
Accepts
Data texturesRGB Off

Mask slot that determines the Controls for each of the Channels defined in the Mask.

Mipmapping Issues

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.

Documentation Info

The following properties below will appear for each Color Mask you are customizing the Controls for. They are independent of each other.

Alpha​

Type
Range
Range
0to1

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.

tip

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 UpWorld UpCamera UpModel 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
Clamped Slider
Range
-180to180

Clamps the maximum rotational Pitch of the affected mask on the X-axis (Up/Down).

Max Yaw (Y)​

Type
Clamped Slider
Range
-180to180

Clamps the maximum rotational Yaw of the affected mask on the Y-axis (Left/Right).

Max Roll (Z)​

Type
Clamped Slider
Range
-180to180

Clamps the maximum rotational Roll of the affected mask on the Z-axis (Barrel Roll).

Visibility​

Type
Toggle

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
VRCGeneric

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 BothShow Only In MirrorDon'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.
Type
Toggle

Enables Audio Link to control LookAt. This will affect ALL Alpha properties in LookAt.

info

The settings in this section will only be visible when Audio Link is activated on the Material.

Alpha Band​

Type
Dropdown
Options
BassLow MidHigh MidTrebleVolume

Choice of which Band to use for the Alpha.

Type
Vector2

How much to add to or subtract from the Alpha with Audio.

ModifierFunction
OffAmount changed to Alpha with No Audio in Alpha Band
OnAmount changed to Alpha with Max Audio in Alpha Band