potatoengine / potato

Hobby C++ game engine
MIT License
38 stars 2 forks source link

Material document #229

Closed seanmiddleditch closed 3 years ago

seanmiddleditch commented 3 years ago

The current materials can be loaded from JSON as a run-time asset. Modifying a material requires hand-editing the JSON.

This task is to enable basic editing of a material's properties via a property grid in the editor.

This task is not to define or build a full node material editor, in-editor shader authoring tool, or anything like that. Just the ability to modify material properties via an editor property grid.

This will be especially useful once we're fully using UUIDs (#228) so that we don't have to manually copy the UUIDs around in JSON files and instead let the editor do the work for us.