Skip to content

1.8.0

Compare
Choose a tag to compare
@nicklockwood nicklockwood released this 25 Nov 09:02
· 61 commits to main since this release
  • Added switch/case statements
  • Added subscripting support for objects and tuples
  • Added object constructor command
  • Objects can now be cast to/from memberwise types
  • Added light.shadow property
  • The opacity property can now be set to a texture
  • Textures now use nearest-neighbor filtering for upscaling instead of linear
  • Added normals command for setting surface normals with a texture
  • Added roughness and metallicity properties for physically based rendering (PBR)
  • Added material command for setting all material properties at once
  • Combined Material.color and texture properties into single property internally
  • The Material.isOpaque property is now correctly computed when using a texture
  • Added text.string, font, color and linespacing members
  • You can now use import statements in expressions
  • Object values are now correctly unwrapped
  • Removed some deprecated methods