Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
1/3
This Universal Render Pipeline shader creates pixel perfect lights and shadows. Ideal for 3D games with retro pixel art textures.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.2.7f1
Not compatible
Compatible
Not compatible
2020.3.7f1
Not compatible
Compatible
Not compatible
2020.2.1f1
Not compatible
Compatible
Not compatible
2019.3.0f6
Not compatible
Compatible
Not compatible
Description

This Universal Render Pipeline shader creates pixel perfect lights and shadows. Ideal for 3D games with pixel art textures.


Works in Universal Render Pipeline. Supports all the features supported in the default "Simple Lit Shader", in fact, you can replace all your material shaders without having to change anything.



Features:

  • Universal Render Pipeline (Forward renderer)
  • Optimized for mobile (The shader is based on the default Simple lit shader)
  • Pixel perfect 3D shadows for both main light and extra light sources
  • Supports all kinds of real time lights and baked lights
  • Supports shadow cascades
  • Compatible with Scriptable Render Pipeline (SRP) Batcher
  • Compatible with instancing

Requirements:

  • Pixel Art Lights Shader v1.1.3:
    • Tested in Unity 2021.2.7f1 and URP 12.1.2 (Forward renderer)
  • Pixel Art Lights Shader v1.1.2:
    • Tested in Unity 2020.3.7f LTS and URP 10.4.8
  • Pixel Art Lights Shader v1.1.1:
    • Tested in Unity 2020.2 and URP 10.2.2
  • Pixel Art Lights Shader v1.0.0:
    • Tested in Unity 2019.3 and URP 7.1.8

Each release of the shader has been tested with the specified Unity and URP version but it should work with any version posterior. Also, I will try the package works with any LTS Unity release. So if you find a bug, please send me an email.


How it works?


This shader uses a technique called Texel Space Lighting. Basically the lighting is calculated in texel space (Texture pixels) instead of fragments (screen pixels). This means the shadow pixels will always “snap” to the pixels of the texture of your mesh.


For advanced users that love to write their own shaders, the package contains a simple include file with utility macros you can use to snap ANY value you want (not only shadow map coordinates) to your texture pixels so you can create more advanced effects. (See TexelSpaceShading.hlsl for more info)


Instructions to use it


Simply change all your materials that use the “Universal Render Pipeline/Simple Lit” shader in your game to use “Ciberman/Texel Space Shading” Shader. That’s all.


This Shader is 100% compatible with the Simple Lit shader, so you should not have any problems upgrading it.



Contact


Javier “Ciberman” Mora


jhm.ciberman@gmail.com

3D Pixel Art Shadows (Texel Space Lighting Shader for URP)

(5)
53 users have favourite this asset
(53)
$8.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
1.4 MB
Latest version
1.1.4
Latest release date
Jan 18, 2022
Original Unity version
2019.3.0
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
3D Pixel Art Shadows (Texel Space Lighting Shader for URP)
$8.99