Libraries

s&box libraries

Shader And Particle System

lastfish.shaderandparticlesystem

A utilitary library for Particle System and shader attributes setting

About

DISCLAIMER !!!
This lib is unfinished, if you have any suggestion or problem feel free to contact me on Discord or use the "Bug Report" or "Feature Request"

Shader and Particle System

Shader and Particle System is a simple library that exposes a few utilitary components to manage shader attribute setting in particle system or on a model. It also expose a particle effect manager component to handle all your particule system in a hierarchy of particle effects & emitters

ShaderParticleModelRenderer:
The ShaderParticleModelRenderer is a custom version of the ParticleModelRenderer. Adds the ParticleShader feature wich let's you set your particule models attributes. Float and colors are ParticleFloat and ParticleGradient so they work with the particle system timings

I also added a FaceCamera bool to toogle if you want the model to face the camera. You can still choose the model rotation to face the camera if you use the particle effect RotationFeature , they add up together.

ParticleEffectsManager:
The ParticleEffectsManager is a component that will find every ParticleEffect in the childrens of the gameobject it is set on and let you pause , restart and set their timescale so it's easier to preview particle system with multiple particle effects playing. You can also playback but it will not work for force and velocity.

ParticleRingEmitterEven:
Same as the default RingEmitter but has an "Even Angle" option so the particle are spread evenly around the ring

ModelShaderAttribute:
Same as the ShaderParticleModelRender but instead it's to set the attributes for a ModelRenderer sceneobject. Useful if you wanna preview a shader effect quicly on a model it's a plus.

As of now that is all, feel free to tell me your suggestions and the possible issue you might encounter

componentsparticlesystemshaderutilitary

Media

More by lastfish

01
ParticleSystemPlus thumbnail
ParticleSystemPlus lastfish.particlesystemplus

A component library to try enhance the particle system a bit

componentsparticlesystemshaderutilitary
+0 24h
4favorites
7upvotes
65%Wilson score