All Projects → TheMasonX → Unitypcss

TheMasonX / Unitypcss

Licence: mit
Nvidia's PCSS soft shadow algorithm implemented in Unity

Projects that are alternatives of or similar to Unitypcss

Unityurpunlitscreenspacedecalshader
Unity unlit screen space decal shader for URP. Just create a new material using this shader, then assign it to a new unity cube GameObject = DONE, now you have unlit decal working in URP
Stars: ✭ 455 (-14.63%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-67.73%)
Mutual labels:  unity, unity3d, shader, shaderlab, unity-asset
Radialprogressbar
Customizable radial progress bar shader for Unity3D. Allows you to set arc range, minimum and maximum colors, textures, radius, and a few more things. Create HP Bars, Speedometers, rank progress, etc!
Stars: ✭ 714 (+33.96%)
Mutual labels:  unity, unity3d, graphics, shader, unity-asset
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-92.68%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (-44.47%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-68.11%)
Mutual labels:  unity, unity3d, graphics, shader, unity-asset
Testbedhdrp
Testbed project for Unity HDRP (High Definition Render Pipeline)
Stars: ✭ 859 (+61.16%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-89.31%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-84.62%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Lwrpshaders
A collection of high customizable unlit shaders for Lightweight Render Pipeline
Stars: ✭ 125 (-76.55%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Texturepanner
This repository hosts a shader for Unity3D whose main goal is to facilitate the creation of neon-like signs, conveyor belts and basically whatever based on scrolling textures
Stars: ✭ 528 (-0.94%)
Mutual labels:  unity, unity3d, graphics, shader, unity-asset
Isaura
An attempt at making a aura thingie with a isoline shader.
Stars: ✭ 187 (-64.92%)
Mutual labels:  unity, unity3d, shader, shaderlab
Kinovision
Frame visualization utility for Unity
Stars: ✭ 177 (-66.79%)
Mutual labels:  unity, unity3d, graphics, shader
Unity Dithered Transparency Shader
Unity material and shader for applying clipped, dithered transparency
Stars: ✭ 174 (-67.35%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Noiseball2
A small example of procedural modeling with compute shaders.
Stars: ✭ 215 (-59.66%)
Mutual labels:  unity, unity3d, graphics, shader
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (-62.85%)
Mutual labels:  unity, unity3d, shader, shaderlab
Alloy
Alloy physical shader framework for Unity.
Stars: ✭ 244 (-54.22%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Rdsystem
Reaction-diffusion system with CustomRenderTexture.
Stars: ✭ 271 (-49.16%)
Mutual labels:  unity, unity3d, graphics, shader
Kvantwig
Non-realistic hair simulation in Unity
Stars: ✭ 467 (-12.38%)
Mutual labels:  unity, unity3d, graphics, shader
Videoplayereffects
Experimental special effects for VideoPlayer (Unity 5.6 new feature)
Stars: ✭ 252 (-52.72%)
Mutual labels:  unity, unity3d, graphics, shader

UnityPCSS

Nvidia's PCSS soft shadow algorithm implemented in Unity3D.

Description

"PCSS" or "Percentage Closer Soft Shadows" is a shadow sampling algorithm invented by Nvidia in 2005 (Original Whitepaper). The intent is to simulate a more realistic falloff where the shadows get progressively softer the further the receiver is from the caster.

This effect is easy to spot in real life, such as when looking at tree shadows: alt text

I thought this photo was really cool, so I did a quick recreation as a test: alt text

Current Limitations

Currently only works with "Directional" light sources, as it's primarily an override of the "Screen Space Shadows" shader in the graphics settings, but I'm looking into the possibility of directly overriding the actual "UnityShadowLibrary.cginc" to affect "Spot" and "Point" lights if possible.

Version Compatibility

Currently working in 2019, though the shadows themselves should still work with 5.5, 5.6, 2017, and 2018 (no modifications necessary, it automatically detects and adapts to any version), but as this is now a Unity 2019.2 project, the materials in the demo scene do not import correctly in earlier versions. There are only 3 or so materials that need their albedo/metallic/specular textures assigned from the nearby "Textures" folder, so it's not that bad, but if anybody has any ideas to fix this, please let me know! :)

Future Development

This asset and any improvements will remain free (both as in beer and speech), but if you wish to support me spending extra time on this, you can donate to me through PayPal. NOTE: Please do not feel pressured to donate it's just an option if anyone wishes to support me spending more time on this, and less on my game, which I can't even use it for.

I obviously didn't do this to make money though; instead, I'd prefer support in the form of you guys contributing back any fixes/improvements, so that we can all benefit :) I made it Open Source rather than just a free asset because I believe that if we work together, we can create something truly amazing. Thanks for the interest, and I hope you guys get some good use out of it! Let me know if you have any issues or ideas, and I'll respond to pull requests ASAP.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].