Outline Effect Controller

Outline effect is built-in highlight effect for Tutorial Factory. You could always use your own highlight effect and some other good assets, such as Highlight Plus from Kronnect.

Please use OutlineEffectControllerURP for the URP render pipeline. Remember to add Outline Render feature to the URP render pipeline asset.

Setup OutlineEffectController

  1. Create a new GameObject and add OutlineEffectController component to the gameobject.

  2. Assign camera to Camera to have highlight effect.

  3. Set Buffer Draw Event to 'Before Image Effects'.

  4. Adjust Downsample and Blur Size if you want to have different look.

  5. Adjust Color to your own choice. Remember to reduce alpha of color to show original object.

Setup OutlineEffectController in URP

  1. Unpack 'Tutorial Factory URP.unitypackage' in the package.

  2. Add Outline Renderer Feature to the renderer asset data file(Picture 2).

  3. Setup layer mask to include highlight objects' layers.

  4. Assign Assets/HSVStudio Tutorial Factory/Materials/OutlineURP.mat material to the 'Highlight Material' field(Picture 4).

  5. Change color to your own choice.

  6. Adjust outline strength and blur size accordingly.

  7. Now you should have Outline Effect in URP when 'Highlight Target' option is checked.

Last updated