Skip to content

Mutable Materials - #992

Open
bjornbytes wants to merge 7 commits into
devfrom
mutable-materials
Open

Mutable Materials#992
bjornbytes wants to merge 7 commits into
devfrom
mutable-materials

Conversation

@bjornbytes

@bjornbytes bjornbytes commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Adds support for modifying materials after they're created.

  • Material:get/setNumber
  • Material:get/setVector
  • Material:get/setTexture
  • Material:get/setQuad
  • Material:is/setDoubleSided

Other things to consider:

  • Deprecate Material:getProperties?
  • newMaterial(texture)?
  • Material:setTexture(texture) defaults to color?
  • Explicit Material:get/setColor methods that do sRGB conversion, or just always do sRGB conversion for color/glow vectors?

@bjornbytes bjornbytes linked an issue Jul 31, 2026 that may be closed by this pull request
@bjornbytes
bjornbytes force-pushed the mutable-materials branch 5 times, most recently from 478f72e to 792bc87 Compare August 16, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mutable Materials

1 participant