+2 votes

I'm new to shaders and I wanted to limit the particle system to be drawn to pixel perfect integers to recreate the Celeste dust step effect. I know I can go into the project settings and change the stretch mode to viewport instead of 2d but I want just the particle system to be limited to pixel perfect integers.

I figured out how to pixelate a sprite thanks to the Godot shader demo, but apparently particles work in a different way. From what I understand you have to manipulate the vertex data because that's the information that particles give you? How would I achieve a pixelate shader with this vertex data or can this even be achieved by a vertex shader?

My hunch for what will need to happen is to draw the particles to some sort of texture and then pass that texture to the fragment shader to pixelate the particles. Since I am a beginner I really have no idea how to do that.

I'd appreciate any help on this topic, thanks!

in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.