Comments (6)
can the current ShaderRenderer use shaders to modifty the sprite?
No, the purpose of the ShaderRenderer
is to render the sprite. If you want to create a shader to modify the sprite you have to use the app::make_shader()
function defined in shader_helpers.h
with your own shader/inputs/outputs (I have some code related to this for this feature, not yet public).
from aseprite.
No, it's not fully implemented (only on RGB, broken code, the shader wasn't ready, and we required to get the proper transformation matrix yet, and too little time to debug code yet).
Probably you are looking for something much simpler, like just running a shader in a rectangular area (like an FX). You are free to create a new issue to request a new feature in that case.
from aseprite.
Could this be implemented in the current state of the application? Did some research in the app's code but based on #3516 I guess Aseprite currently cannot use shaders for rendering images.
Am I right or did I miss something?
from aseprite.
There are still some work to do. For #3516 we have already something working in the ShaderRenderer
class, and for this issue I have a local stash with some code, but they are two independent features (one uses shaders to render sprites, the other uses shaders to modify the sprite).
I'll see if I can push something about this in a draft PR with my local changes.
from aseprite.
In fact they are two independent features, but can the current ShaderRenderer
use shaders to modifty the sprite? I have some interest and experience in CG stuff and would love to help implement that :)
from aseprite.
(I have some code related to this for this feature, not yet public)
So this feature is almost fully implemented, right? There's any other related issue related to this you think I could help?
from aseprite.
Related Issues (20)
- Umbrella issue for unhandled exceptions received in Sentry
- Crash generating brush preview boundaries in tiles mode
- Move objects with move tool
- incomplete type 'SkBlendMode' HOT 6
- Always apply filters (replace color, hue, etc.) to the selected cels/layers by default
- Eyedropper Tool (quick) not working on Aseprite v1.3.7 on Linux Mint 21.3 HOT 3
- Mismatch between zlib <-> cached png zlib in build dir
- JSON export of Cel Properties does not expose Opacity
- Buggy Spray tool with custom brushes
- cel.image = Image(cel.image, rectangle) can error
- Detect that the Linux Window Manager is getting the Alt shortcut instead of us
- == casting issue & math.floor internal optimization are breaking lua HOT 4
- Right-clicking with shading ink should do the configured action for right-click when no color range is selected
- Sort slices by name in File > Export > Export As...
- color_quantization.lua test fails in new MSVC (probably new compiler bug?) HOT 1
- Bitdefender flags Aseprite "trycompile" files during cmake configuration
- Export As.. - Add zero-padding to numbering in filenames when exporting frames HOT 7
- Crash using Image:drawImage() with different color modes
- Image:drawImage() doesn't behave like BlendMode.NORMAL by default with indexed image
- Random crash on the palette viewer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aseprite.