
PixFX 2d Shaders (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
- ✅ Options for both Universal and Built-In Render Pipelines
- ✅ Demo scenes included
- ✅ Customizable controls via material inspector and demo scripts
- ✅ Optimized for performance (PC & mobile)
📦 Included Shaders
- Character Rim Light Shader (with thickness & colour control, shimmer animation, both single and multi rim light capability affecting one or more sprites)
- Pixel Water Shader (with animated edge, shimmers, sides & dynamic reflections)
- Pixel Art Light casting / wobble 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 and Built-In
- Separate downloads for Render Pipeline support
- 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.
Also includes a demo showing rim light affect on rain drops
Documentation package added and will continue to improve this over time.
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 PowerQuest, 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
- Minor improvements and Pixel Rain demo22 days ago
- Multiple lights can now effect multiple sprites23 days ago
- PixFX: Added URP, BuiltinRP and documentation23 days ago
- Improved media, scenes and reflections31 days ago
- Add multi rim light capability to PixFX33 days ago
- Small 2D Pixel Art Unity Shader Pack35 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 :)
Looks great! I’ll definitely give it a try at some point. Now I need to design my room with 100 light sources :D