URP - X-Ray Shaders

$9
Publisher Ciconia Studio
File size 10.13MB
Number of files 24
Latest version 2020
Latest release date 2022-03-21 10:43:12
First release date 2022-03-21 10:43:12
Supported Unity versions 2018.4.2 or higher

Easily drag and drop shaders to make a standard shader visible through walls and objects.

Take advantage of its advanced settings to customize the effect.

Disable the X-Ray effect based on transparency control or camera distance.



The file includes Built-in and URP shaders. The X-Ray Shaders v2020.x package is only compatible with Unity 2019.4.0 or higher.

The package is set up by default for the Built-In Render Pipeline. Please follow the URP setup in the documentation for Universal Render Pipeline projects.

The package comes with 1 demo scenes using 1k and 2k textures in .png format

Documentation included.




Shaders :

  • XRay Basic
  • XRay Lite
  • XRay Custom Renderer (URP only)


Built-in version :

Transparent and Cutout versions have also been added in this package. However, be aware that X-Ray mode only works well with opaque models.

By using the transparent versions, you will probably encounter unexpected behavior.

Maybe it will still be useful to you ! So we decided to keep them in this package.


URP version :

The URP package contains the XRay Basic and XRay Lite (Specular Workflow) adapted from the built-in version, but also a XRay Custom shader for using with a custom Renderer. The advantage of using custom URP renderer is that it does not require any code and gives you the possibility to use any custom shaders.

Take a look to our tutorial on how to set up a custom XRay renderer : https://youtu.be/jBeCvqPCkms




Basic and Lite shaders :

The package contains 2 types of shaders

  • Basic

The Basic are the lightest shaders. They include a main layer and the X-Ray effect layer.

  • Lite

The Lite versions are based on our Standard Lite shader (cf. Double sided standard package) to which the XRay effect has been added.




Features :

  • Built-In and URP support
  • PBR Metallic Workflow
  • Forward rendering only for Built-in
  • X-Ray advanced settings
  • Fresnel Color
  • Color animation flickering
  • Detail map with animation properties
  • Camera distance fade out


----------------------------------------------------------------------------------

If you have any questions, please feel free to contact us : [email protected]

Top Publisher Assets