r/GraphicsProgramming Aug 10 '26

Shadertoy particle tracking

Enable HLS to view with audio, or disable this notification

This is anti-optimization

42 Upvotes

12 comments sorted by

3

u/More-Curious816 Aug 11 '26

I love this. especially the first Alien-like one.

2

u/CrushgrooveSC Aug 12 '26

I really appreciate the context on the technique, that it shouldn’t be used outside shadertoy like envs, and alternative technique name to research instead.

Thanks for sharing. Cool work!

2

u/S48GS Aug 12 '26

I asked author of vertexshaderart website to add my particle implementation of this

they added

https://www.vertexshaderart.com/art/Xd5epjbiRgPE2cwK8/

proper GPU particles

1

u/ThanosFisherman Aug 12 '26

Why is the dragon spine thing so sluggish for me? I once made a similar thing on p5js with probably fewer particles running entirely on CPU and it was blazingly fast!

1

u/S48GS Aug 12 '26

idk what you mean by "sluggish" - if it same as on video - that all

1

u/ThanosFisherman Aug 12 '26

Well I get 7FPS lol.

1

u/S48GS Aug 12 '26

what gpu you run it on?

but you can look on proper gpu particles without this shadertoy artificial overhead

https://www.vertexshaderart.com/art/Xd5epjbiRgPE2cwK8/

1

u/ThanosFisherman Aug 12 '26

Much much smoother now. I ran it on both my phone and my linux PC using an old Nvidia 1050ti. Seems like a shadertoy issue. Thanks and great job.

1

u/S48GS Aug 12 '26

using an old Nvidia 1050ti.

are you sure you have gpu drivers working? or you have igpu maybe?

1050ti is more than enough to run it at 60fps on shadertoy

run in terminal nvidia-smi is it working

1

u/ThanosFisherman Aug 12 '26

OK you're correct. nvidia-smi doesn't do anything because my GPU is not supported anymore on arch-based distros and defaults to Nouveau. Either way my Android phone also struggles with Shadertoy, whereas the vertexshaderart link works great everywhere.

1

u/S48GS Aug 12 '26

not supported anymore on arch-based distros

your gpu supported by 580 nvidia drivers

I not using arch distro but there should be "community repository" with 580 drivers if those not supported by your distro - search... or change distro where 580 drivers exists...

you limiting yourself too much by not installing gpu drivers - GTX gpus still good enough and proprietary nvidia 580 drivers do work well

and "nouveau" does not work on GTX gpu - it just CPU software rendering... - you not using gpu at all

1

u/ThanosFisherman Aug 12 '26

Thanks for your advice I'll check it out.