Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Soft Particle to blend particle's edges #3834

Closed
MatthewsSam opened this issue Feb 25, 2016 · 8 comments
Closed

Add Soft Particle to blend particle's edges #3834

MatthewsSam opened this issue Feb 25, 2016 · 8 comments

Comments

@MatthewsSam
Copy link

One of the thing that "kills" the immersion in godot is Hard edge for particles.
Sadly there is no way to smooth the edges of particle when they intersect the geometry :(.

It would be very usefull to have an option in particle emitter to enable this (since for mobile it would be probably way too expensive).

I included a screenshot to illustrate the effect

windows-live-writer-improved-particle-rendering_b00e-soft-particles_4

@bojidar-bg
Copy link
Contributor

👍

@reduz
Copy link
Member

reduz commented Feb 26, 2016

easy to do once you have deferred rendering, which we don't :(

On Fri, Feb 26, 2016 at 9:57 AM, Bojidar Marinov notifications@github.com
wrote:

[image: 👍]


Reply to this email directly or view it on GitHub
#3834 (comment).

@reduz
Copy link
Member

reduz commented Aug 4, 2017

this is suuuuuuuuuper easy to add now to SpatialMaterial, in case anyone wants to add it. Otherwise I will leave it open to remind me.. to do it in 3.1

@scallyw4g
Copy link

I'd be willing to give it a shot if someone can give me a shove in the right direction. I'm new to the project so filenames and a hand-wavy description of what I'm looking for would be helpful :) @reduz

@volzhs
Copy link
Contributor

volzhs commented Sep 26, 2017

isn't this already implemented?

@Calinou
Copy link
Member

Calinou commented Sep 26, 2017

This is indeed implemented in the master branch since last week. It is called Proximity Fade and is available in SpatialMaterial (not to be confused with Distance Fade, which fades materials in a per-pixel manner based on the camera position).

@scallyw4g
Copy link

Ah, beat me to it!

@akien-mga akien-mga modified the milestones: 3.1, 3.0 Sep 26, 2017
@akien-mga
Copy link
Member

Indeed, fixed by bf371dc. Feel free to check the commit to see how it was done and get more familiar with this code though :)

@reduz reduz closed this as completed Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants