Geometry, texture and material editors #53

Open
UnflavoredMeson/Primal_Plus_Plus
opened 2026-11-24 20:16:04 +00:00 by UnflavoredMeson · 0 comments
Owner

Why

Assets need their own settings: LODs and normals for geometry, compression and mips for textures, shaders and inputs for materials.

Decided

  • One panel per asset type through ui::, with a preview on an offscreen surface.
  • Material shaders come from shader packs (S4-03), so every material has both backends' byte code.

Read first

  • PrimalEditor/Editors/ on master (what the WPF editors offered).

Steps

  • 1. Write the geometry editor with LOD preview.
  • 2. Write the texture editor.
  • 3. Write the material editor with texture inputs and PBR constants.

Done when

  • Each editor changes its asset and the viewport shows it; tests pass; 0 warnings; tidy 0.

Claude can help with

  • Preview cameras and the import-settings round trip.

Learn

  • What a material instance is and when it's worth having.
## Why Assets need their own settings: LODs and normals for geometry, compression and mips for textures, shaders and inputs for materials. ## Decided - One panel per asset type through `ui::`, with a preview on an offscreen surface. - Material shaders come from shader packs (S4-03), so every material has both backends' byte code. ## Read first - `PrimalEditor/Editors/` on `master` (what the WPF editors offered). ## Steps - [ ] 1. Write the geometry editor with LOD preview. - [ ] 2. Write the texture editor. - [ ] 3. Write the material editor with texture inputs and PBR constants. ## Done when - [ ] Each editor changes its asset and the viewport shows it; tests pass; 0 warnings; tidy 0. ## Claude can help with - Preview cameras and the import-settings round trip. ## Learn - What a material instance is and when it's worth having.
Sign in to join this conversation.
No assignees
No project
Blocks
#63 Parity review and deleting the WPF editor
UnflavoredMeson/Primal_Plus_Plus
Depends on
#51 Content browser and import in the editor
UnflavoredMeson/Primal_Plus_Plus
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
UnflavoredMeson/Primal_Plus_Plus#53
No description provided.