Documentation

Discord GitHub
Hekky Shader Docs

Shader Reference

Paid Features

Some features require a copy of Hekky PBR Pro to use. These features will have next to them.

Table of Contents

Shader Inspector

Sliders

Sliders next to textures control the intensity of the texture!

Rendering Mode
Allows you to change the material from opaque mode to transparency mode.
Alpha Clip
Allows you to control the alpha clip threshold.

Main

This section describes the base layer of a material using Hekky PBR.

Texture
The albedo / diffuse / base texture. Can also be tinted.
Metal Mask
Controls how “metallic” and reflective the material is. Other shaders may call this property Metal Map, Metallness or something similar.
Roughness Map
Controls how “rough” the material is.
Invert Roughness
Inverts the roughness map. Enable this if you want to use smoothness instead of roughness.
Normal Map
Allows you to define surface bumps without increasing the polygon count.

Textures

All textures share the same Texture sampling settings, i.e. texture settings such as filtering mode, clamp or repeat tiling modes will be shared. The only exception is the matcap texture.

Lighting

This section describes how you may customise how a material reflects light using Hekky PBR.

Lighting Mode
Controls the lighting style of the material. You can choose between Realistic, Toon and Unlit.
Baked Specular
Enables specular lighting from baked light sources, such as lightmaps and light probes.

Lighting Mode

Realistic
uses a realistic lighting model, and aims for photorealism.
Toon
toonifies the output of the realistic lighting model to achieve PBR toon shading.
Unlit
uses light probes for shading. Doesn’t get affected by any realtime lights.

Toon

This section describes how you can tweak the lighting to achieve a cartoon-esque look.

Realistic Lighting Toon Lighting
Math Gradient Start
Controls the start of the math gradient for toon shading. Should always be smaller or equal to Math Gradient End.
Math Gradient End
Controls the end of the math gradient for toon shading. Should always be larger or equal to Math Gradient Start.
Min Brightness
Controls the minimum brightness when using toon shading. Should always be smaller or equal to Max Brightness.
Max Brightness
Controls the maximum brightness when using toon shading. Should always be larger or equal to Min Brightness.
Receive Shadows
Disables shadows on this material.
Normal Reprojection
Recalculates normals using a spherical mapping, assuming the mesh’s origin as the center of the sphere. This is mainly intended for cartoony faces.
Base Normal Blend
How much to blend between the model’s normals and the reprojected normals.

Specular

Specular
How much to blend between the true color and the tinted specular color on specular highlights.
Specular Tint
Allows you to change the color of specular highlights.
Specular Mode
Allows you to toggle between isotropic (normal) and anisotropic specular modes.
Baked Specular
Enable specular effects from baked light sources. These are not as accurate as realtime ones if not using Directional or Bakery lightmapping modes.

Anisotropy

Anisotropy Map
A texture map that stores anisotropy. Red is anisotropic intensity. Green is anisotropic angle.
Angle Offset
Allows you to offset the angles from 0°.

Reflections

Force reflections mode
Forces reflections to be interpreted as either box projected or spherical projected reflection probes.
SSR
Enables Screenspace Reflections.

Note

The current SSR implementation is not as good as I would like it to be. As such, this will be getting reworked at some point in the future.

Blur
Unused for now.
Edge Fade
How far off the edge of the screen screen space reflections will extend to. They will smoothly blend with reflection probes.
Accuracy
Controls the amount precision used when tracing the reflected ray.
Maximum steps
The maximum amount of steps allowed to trace the reflected ray.

Performance

Screenspace Reflections are an expensive shader effect. Use this sparingly, and only whenever necessary (you can get pretty far with reflection probes alone)

Subsurface Scattering

Regular lighting Subsurface Scattering
Enable Subsurface Scattering
Enables Subsurface Scattering.
Thickness Map
A grayscale texture defining the thickness of a mesh.
SSS Color
A color to be applied on subsurface scattering.
Intensity
How intense the effect of subsurface scattering is.

Occlusion

Subsurface scattering is affected by occlusion, to better account for the lack of light from certain areas. The exact algorithm currently used to take occlusion into account will likely be reworked later to take occlusion into account in a more physically based manner.

Emission

Emission
Controls the object’s emissiveness.
Intensity
How bright to make the emission.

Matcap

Enable Matcap
Enables matcaps shading.
Texture
The matcap texture.
Mask
A mask texture. All channels other than red are ignored.
Border
How much to offset the bounds matcap from the edge of the texture.
Replace, Add, Difference, Multiply, Overlay
Different blend modes. Value controls their strength.
Reflection Blend
How much to blend the matcap with cubemap reflections.

Occlusion

Ambient Occlusion
Controls how much ambient occlusion to apply to the object. Useful to help improve selfshadowing on non-lightmapped materials.
Exposure Occlusion
Controls the effect ambient occlusion has on lightmap ambient occlusion. Doesn’t effect per-material ambient occlusion.

Outline

Variants

Outlines are only available in the outline variant of this shader. To use outlines, select “Hekky/PBR/Standard (Outline)“.

This section controls outlines.

Enable Outline
Enables outline effects.
Outline Width
Controls the thickness of the outline.
Outline Color
Controls the outline’s color.

This section explains the various AudioLink related controls Hekky PBR offers.

Enable Debug Mode
Enables AudioLink Debug mode, which allows you to manually input parameters for AudioLink to ensure that it’s functioning properly. Make sure that this is disabled in before uploading VRChat.
Bass / Low Mid / High Mid / Treble
Controls the individual AudioLink channels.
Multiply
Multiplies the Emission strength with the specified AudioLink channel. Use the Min/Max sliders to adjust how intense you want the audio reactivity to be.
Add
Adds the specified AudioLink channel to the Emission strength. Use the Min/Max sliders to adjust how intense you want the audio reactivity to be.

Other Modules

Bakery
Enables Bakery support. Required to use Bakery RNM, Bakery SH or MonoSH lightmapping modes, and must match whatever setting is used in Bakery. Learn more
LTCGI
Enables LTCGI support.
AudioLink
Enables AudioLink support.

LTCGI Settings

LTCGI Scale
Skews the area of effect of an LTCGI light in 3D. This can be used to give the illusion of a surface “receiving more light”.
LTCGI Intensity
Controls the brightness of LTCGI lighting.

Misc

Render Queue
Controls when to render this material. See the Unity Docs for more information.
Enable GPU Instancing
Allows Unity to draw objects using the same mesh and same material using one draw call, yielding performance.
Double Sided Global Illumination
Enables double sided global illumination for this material. See the Unity Docs for more information.