FlaxEngine / FlaxEngine/FlaxEngine

[Request] Add ability for material asset pickers to filter based on valid domain

Open
#2,884 0 comments 4 reactions 0 assignees View on GitHub
editor graphics suggestion
Dominant language
C++
Stars
7k
Forks
713
Avg merge
7d 11h
Merged PRs (30d)
19

Description

Materials have a wide range of domains, this means that they will only be valid in specific circumstances.
Some examples:
Particle sprite materials need to have the `Particles` domain
Terrain materials need the `Terrain` domain
PostFx materials assigned to a PostFxVolume need the `Post Process` domain

I think that it would make a lot of sense for material asset pickers to only show materials that have a valid domain. Otherwise the list is polluted by non-applicable materials.

I also think that with this capability implemented, it would look better to change how the type is displayed beside the picker.
Instead of `MaterialBase`, it could instead display the domain e.g. `Terrain Material`, `Particle Material`, `GUI Material` etc.
Though, my only concern with this would be the potential of confusing users into believing that these are actually different types.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.