
PixFX 2d Shaders (2d Rim Light)
A downloadable asset pack
🚀 Overview
PixFX includes a set of simple but powerful 2d Pixel Art style Unity shaders that can be dropped directly into your project. These shaders will give your project the visual boost it needs, without the pain of writing custom shader code or drawing and animating complex visuals to accomplish a similar result.
🎨 Features
- ✅ Ready-to-use shaders with adjustable parameters
- ✅ Built for URP but should be compatible with Built-In and HDRP
- ✅ Demo scenes included (drag-and-drop ready)
- ✅ Customizable controls via material inspector and demo scripts
- ✅ Optimized for performance (PC & mobile)
📦 Included Shaders
- Character Rim Light Shader (with thickness & colour control & multi rim light capability)
- Pixel Water Shader (with animated edge, shimmers, sides & dynamic reflections)
- Pixel Art Light casting effect
🔧 Compatibility
- Built with Unity 2022.3.60 LTS but should work with 2020+ (Will do more testing on other versions and confirm)
- Supports: Universal Render Pipeline (Should work with Standard and HDRP)
- Works on PC, Mac and should work on Mobile due to high performance and light weight
📚 Documentation
Demo scenes to test every shader right away including one which includes all of them working together and effecting each other. Extremely simple but will provide further documentation over time as I get feedback.
Note:
The Character Rim Light Shader overrides the normal sprite renderer default lit material. I've tested this in all sorts of conditions including on PowerHoof's PowerQuest software, but if your character is already using a complex shader material, you may need to merge and combine the rim shader to have both work together. Otherwise, this will just be your new character shader material, in place of the Unity default.
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $15 AUD. You will get access to the following files:
Development log
- Improved media, scenes and reflections2 hours ago
- Add multi rim light capability to PixFX1 day ago
- Small 2D Pixel Art Unity Shader Pack3 days ago
Comments
Log in with itch.io to leave a comment.
Nice work. But i Have a question. Can i use multiple rim light sources?
When I try to create multiple light sources with the rimlight script, only the last created element affects the character.
That’s a great idea! I just uploaded a video showing the use of some of the settings and am working on adding a heap of new documentation as well. Let me have a look at that next, I would really like to have and offer that ability. Thanks for the feedback and suggestion. Will get back to you shortly.
Have just updated the package to include a new material, shader, controller script and demo scene for using Multi Rim Lights. This will allow your character to be affected by up to 100 rim lights dynamically in a scene, controlled by the MultiRimLightController script. Will document this shortly. Let me know what you think?
This is great. I'll MP you on X, to talk about some evolution if you are Ok
This looks very cool, especially the rim light shader! But reflections don’t work like that. The reflection should always be directly below the object being reflected, without any horizontal offset.
Thanks for the feedback, going to be continually improving it. At the moment you can adjust the reflections in the water with a Slider on the shader so it would be more vertical, I just went a bit over the top to make it more obvious. I’ll add some more realistic looking screenshots shortly 😊
I’ll improve the horizontal offset also. Might add some more example screenshots or video showing all the customisations you can do to the rim light shader and water shader too. Will update you again soon. Thanks again!
Ah nice. If it can be adjusted that’s great. Yeah some more examples would be good. Might have to give it a try for the next game jam!
Updated and added up to 100 dynamic rim lights that can affect the character in a scene, as well as improving the water reflections. Also updated all the media to show these changes. Thanks again for the feedback on the water :)