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 Logarithmic Depth Support on ParticleSystem #13005

Closed
Atsutakemura opened this issue Sep 21, 2022 · 2 comments
Closed

Add Logarithmic Depth Support on ParticleSystem #13005

Atsutakemura opened this issue Sep 21, 2022 · 2 comments
Assignees
Labels
enhancement in progress Someone is currently working on this issue particles
Milestone

Comments

@Atsutakemura
Copy link
Contributor

Atsutakemura commented Sep 21, 2022

Hello everyone,

Problem
I have a small space game project and wanted to give it some diversity like different space ship sizes and the opportunity to zoom deep into planet surface. Also different space system types (i.e. asteroid fields, gas nebulas, suns). To solve z-fighting srzerbetto brought me to the solution to use Logarithmic Depth on materials. I was able to implement it to the project, thanks to Evgeni_Popov even to ShaderMaterial. But there is still z-fighting left on all of the particle systems like nebulas (PG: https://playground.babylonjs.com/#L3JUGF%2316) or on the space ship jets (drive particles).

Requested Solution
I would like a Logarithmic Depth Support on ParticleSystem to be added.

Link to Forum Discussion:
https://forum.babylonjs.com/t/z-fighting-on-multiple-objects/34067/13

Thanks in Regards,
Takemura

@deltakosh
Copy link
Contributor

Makes sense! Tagging myself and @Popov72 to see who can do it first

@deltakosh
Copy link
Contributor

Working on it right now :)

@sebavan sebavan added the in progress Someone is currently working on this issue label Sep 22, 2022
deltakosh added a commit that referenced this issue Sep 22, 2022
RaananW pushed a commit that referenced this issue Dec 9, 2022
Former-commit-id: 69f29b876946093a04b1d2b6d41255b4b58a9193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement in progress Someone is currently working on this issue particles
Projects
None yet
Development

No branches or pull requests

4 participants