flingengine / flingengine/FlingEngine

Cannot change the pipeline of a material at runtime

Open
#140 0 comments 0 reactions 1 assignee Claimed by @BenjaFriend View on GitHub
PRI 1
Dominant language
C++
Stars
415
Forks
16
Avg merge
18h 53m
Merged PRs (30d)
7

Description

Right now there is no way to change the rendering pipeline of a material. For example, if you wanted to change a mesh from a lit/shaded view to a wire frame view, you cannot do so.

This should be simple given that command buffers are rebuilt often and grab the `MeshRenderer` with a given tag. In order to change the tag we would need to:

- Remove the current tag on a mesh renderer
- Add the appropriate tag
- Wait for command buffers to rebuild

We should have a nice and scaleable way to track what tag a material currently has. There is already the `Type` attribute on a `Material`, so we should utilize that. The problem with this is that we may not be able to use that as a tag with `entt`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.