godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.13k stars 69 forks source link

Add a visual shader node to read easily particle data from fragment stage #7305

Open QbieShay opened 1 year ago

QbieShay commented 1 year ago

Describe the project you are working on

VFX

Describe the problem or limitation you are having in your project

Reading particle custom in visual shader is cumbersome

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Provide a node that offers these 3 output

  1. angle
  2. animation
  3. lifetime

lifetime will be CUTOM.y/CUSTOM.w

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

it's very cumbersome and you have to know very well how to juggle between stages and varying.

If this enhancement will not be used often, can it be worked around with a few lines of script?

see above

Is there a reason why this should be core and not an add-on in the asset library?

see above

golddotasksquestions commented 1 year ago

There is possibly a typo in the original post:

lifetime will be CUTOM.y/CUSTOM.w

I suppose it should probably mean lifetime will be CUSTOM.y/CUSTOM.w