X-RAY PLUGIN TUTORIAL
Activating License
To use the X-Ray Plugin you need to activate it on your PC using the license.
Open The License Manager on the top menu.
GargleBlaster Games > License Manager > X-Ray Plugin.
Applying X-Ray to models
This process have 2 parts: X-Ray Material and X-Ray Positions.
X-Ray Material
To make an object x-ray, create a new material and apply XrayPBR or XrayUnlit.
Then apply this material to Skinned Mesh Renderer / Mesh Renderer.
Then apply the script call “Xraypoint” to the object.
X-Ray Position
To define a position as an x-ray position, simply add a tag called “Xpoint” to any game object.
That object's position will be the x-ray position (maximum of 4 for the pro, and 1 for the free version).
Creating a dual side X-Ray
Make the number of materials in MeshRenderer /Skinned MeshRenderer to 2.
Add a material to material[0] first slot with (XrayUnlitBack / XrayPBRBack )Shader,
and add a second material with (XrayUnlit / XrayPBR ) to second slot (material[1]).
We have created this custom shader that enable x-ray style
functionality for your Unity3D project.
Compatible with Lightweight
and Universal Rendering Pipelines.
Demo version available on Unity3D store
Support and Discussion
Join us on