Publisher | pixelsize.me |
---|---|
File size | 17.45MB |
Number of files | 63 |
Latest version | 1 |
Latest release date | 2021-01-28 02:28:13 |
First release date | 2021-01-28 02:28:13 |
Supported Unity versions | 2018.4.2 or higher |
Planar reflections for URP
Techniques / Implementation
It uses a Render Texture. So the scene need to be rendered twice, performance depends on the complexity of the scene, render texture size and camera configuration (mostly post-rendering).
Near clip of the reflection camera is adjusted to the plane position (oblique projection) so anything behind the plane could be rendered.
Culling mask of the camera can be used if you need to remove something from the reflection.
Orthogonal and Perspective camera are supported.
URP support.
HDRP support, but It's not our purpose to replace unity built in.
Auto mode, so you don't need to worry about anything (just 3 things in the inspector) or manually, so you can tweak performance as much as you need.
Package includes
+10 example scenes• 3 base subgraphs
• 7 shaders (Opaque/Transparent)
• Reflection:
Reflection, Opaque.
• TransparentReflection:
Reflection with alpha.
• ReflectionWithTexture:
Blend an Albedo texture and the reflection by a factor.
• TransparentReflection
Blend an Albedo texture and the reflection by a factor with alpha.
• ReflectionWithDistortion
Reflection with distortion using a normal map, Opaque
• TransparentReflectionWithDistortion
Reflection with distortion using a normal map with alpha.
• Rain
Beautiful animated rain shader :)
• Documentation
Future plans:
If you are interested in any of the following features or another, please contact us so we could think about it.
Recursive mirrors
There is a basic / buggy implementation already in the asset but it's still a work in progress.
Backport to Unity 2019?