Allar / ue5-style-guide

An attempt to make Unreal Engine 4 projects more consistent
http://ue5.style
MIT License
5.32k stars 1.15k forks source link

Niagara Naming Conventions and Best Practices #58

Open Allar opened 3 years ago

Allar commented 3 years ago

I haven't been able to dive real deep into Niagara pipelines, so far all my current game dev experience has been on teams that have still been figuring it out.

I'm looking for any and all insight on how to manage, name, and really just best practices of all kinds. Literally anything useful in Niagara authoring that is helpful to know and conform to.

Please discuss here, on the Gamemakin Discord at https://discord.gg/Kdq5dth , or just create pull requests with your contributions. If possible, please include ways you've seen these in practice, pros and cons, possible alternates. Feel free to contact me through other secure means if you would like to talk behind an NDA or encryption.

dunenkoff commented 3 years ago

Got one right off the bat - never ever use spaces in Niagara variable or module names, you gonna have a bad time when you write a custom HLSL code/expression and try to reference that.

Allar commented 3 years ago

Got one right off the bat - never ever use spaces in Niagara variable or module names, you gonna have a bad time when you write a custom HLSL code/expression and try to reference that.

b1f341c

lucastucious commented 3 years ago

We use typical prefix. NS for Niagara system NE for Niagara emitter.

It works great.

Edit : More detailed answer here : https://github.com/Allar/ue5-style-guide/issues/31#issuecomment-876753902