KrazenLabs Shader Editor

This package is an internal library and is required for the Material Inspector for KrazenLabs shaders to work. Please install this package if you are using a KrazenLabs shader in your project. There is no configuration required and it does not affect anything else in your projects.

  • Fixed a memory leak
  • Materials are stripped of leftover properties the current shader no longer declares
  • _FallbackCubemap is filled in automatically from the cubemap shipped with the shader library, whether or not the editor exposes the property
  • Added a baked emission toggle, controlling whether the material contributes emission to baked lighting
  • Fixed the inspector scroll bar disappearing after saving a material
  • Fixed the slider fill drawing over the handle and drifting out of alignment with it
  • The header now spans the full width of the inspector and sits flush with the top
  • Sections, rows and separators no longer inherit the inspector’s uneven left margin
  • Property rows are separated by a hairline and highlight on hover, so individual lines are easier to follow within a section
  • Section and sub-section headers highlight on hover as well
  • SDF generation warns when the shape sits too close to the texture border for the outside falloff to fit, which would cut the field off at the edge
  • License updated: new section 4 covers third party components and their licenses, which take precedence over sections 2 and 3 for the files they cover
  • Replaced the SDF generator with the anti-aliased distance transform from Catlike Coding’s
  • SDF Toolkit (MIT, see THIRD-PARTY-NOTICES.md)
  • SDF options are now inside/outside distance, edge refinement and source channel
  • Edge anti-aliasing is now used for sub-pixel accuracy instead of being thresholded away
  • Generated SDFs keep the source resolution, capped at 1024 px with a warning
  • Generated SDFs are imported one size step below the source texture
  • Fixed valid SDFs being reported as having an empty alpha channel
  • Fixed the generated texture’s import size not being applied
  • Fixed toggles not setting the shader keyword of [Toggle] properties
  • BREAKING: The header now supports links to product pages. Old versions may render the header incorrectly.
  • Improved SDF generation algorithm
  • Changed default SDF spread
  • SDF generation will no longer downscale low resolution textures
  • Added SDF texture validation
  • Added SDF auto generation
  • Initial release