{"repo":"Cyanilux/URP_ShaderGraphCustomLighting","free":true,"listed":false,"github":"https://github.com/Cyanilux/URP_ShaderGraphCustomLighting","clone":"git clone https://github.com/Cyanilux/URP_ShaderGraphCustomLighting.git","description":"💡✨Custom lighting functions/sub-graphs for Shader Graph, Universal Render Pipeline. (See Readme!)","language":"HLSL","stars":777,"topics":["unity","urp","custom-lighting","lighting","shader-graph"],"license":"MIT","category":"game-templates","readme_excerpt":"Shader Graph Custom Lighting Some custom lighting functions/sub-graphs for Shader Graph, Universal Render Pipeline. If anything breaks, let me know by opening an issue! Setup: - Install via Package Manager → Add package via git URL : - https://github.com/Cyanilux/URP ShaderGraphCustomLighting.git - Alternatively, download and put the folder in your Assets Known Issues : - Be aware that Shader Graph does not include keywords from blackboard if nested in multiple Sub Graphs. So for some of my subgraphs (ML Cookie, ML Layer Test, Sample Shadowmask & Subtractive GI), you may need to open them and copy the Boolean Keywords in the Blackboard to your subgraph (or every main graph where it's used) Includes Sub Graphs for : Main Light - Main Light - Outputs : Direction, Colour, CullingMask - Main Light Shadows - Inputs : WorldPosition, Shadowmask (can leave at 1,1,1,1 if you don't need it) - Outputs : ShadowAtten - (Now works with all Shadow Cascades settings!) - Main Light Cookie - For supporting cookies. Will also enable cookies for additional lights (as they use the same keyword) - Inputs : WorldPosition - Outputs : Cookie - Main Light Layer Test - For supporting Light Layers. Pass your shading calculation from main light through here. - Inputs : Shading - Output : Out (with layer mask applied) - Main Light Diffuse (handles Lambert / NdotL calculation) - Inputs : Normal - Outputs : Diffuse - Main Light Specular Highlights - handles specular highlights based on Phong or BlinnPhong m","default_branch":null,"files":null,"tree":[],"storefront":"/r/Cyanilux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Cyanilux/URP_ShaderGraphCustomLighting/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}