Here is a workflow to get a CRT shader preview with Aseprite on Windows.
It’s based on Squint + ShaderGlass, and it’s very experimental!
This is more a proof of concept, so please don’t blame me
Anyway it works for me, for my own pixel art, so I hope other pixel artists could benefit from it.
1- Install my release of “Micro-Squint” from here:
The zip file contains:
NB: I just forked the Squint repo, using the existing “micro-squint” branch, and made a few changes.
2- Install the Microsoft Visual 2022 redist package if you don’t have it already:
This is required for micro-squint.exe to run (Squint 0.2.1 used the Visual 2015 redist)
3- Install the last release of ShaderGlass from here:
4- Launch micro-squint.exe, then in Aseprite open any image (no tilemaps) and select “File > Connect to Squint”.
You should see your image in the Micro-Squint window.
Every stroke in Aseprite is replicated in Micro-Squint. Warning: it can be slow on images with pixel ratio, so work with small resolutions in this case (github issue).
Let’s add the CRT Shader now with ShaderGlass.
5- Launch ShaderGlass, in the menu “Input” select “Window” then “Squint micro viewer”
ShaderGlass now shows your image with the default CRT filter, but it looks blurry so:
- In the menu “Input”, select “Pixel Size” to 1.
- In the menu “Output”, select “Scale” to 300% or above depending on how big is your screen resolution.
- You may press ‘n’ multiple times to loop through all the different shaders and explore/tweak them.
Every stroke you make in Aseprite is now reflected with a CRT Shader in ShaderGlass!
And now the bad news: this is not a live preview, you have to release the left mouse button up to make the modification appears in Micro-Squint/ShaderGlass.
But at least we have something now.
And if anyone can tell me how to get the current drawing (while the mouse button is down) in the API, please let me know
Enjoy!
-lonestarr
PS: Please report any issues here:
Here is the original Squint tool: squint by Eiyeron
My changes are available here:
GitHub - lonestarr/squint at micro-squint