CultLib/packages/cultmath/unity/org.gamecult.cultmath/LICENSE.md
Meta Vens 559800f494 CultMath: Cycles node semantics (Math, Map Range, Clamp, Mix, RGB to BW, ramp index) as math.Cycles.cs and CultMath.Cycles.hlsl under Apache-2.0
Ports of Blender v5.2.2's intern/cycles kernel functions, one function per node
operation, with the HLSL mirror, the Unity copy, the lowering table entry for a
separate Apache-2.0 GLSL file, the golden-fixture families, the package licence
expressions and the notices section.

Builds. Does not pass yet: CultMath.Cycles.glsl and the regenerated golden
fixture arrive in a later commit, so CommittedGlslEqualsLowering and
GoldenFixtureMatchesCSharp fail at this commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 03:59:59 +02:00

1.2 KiB

CultMath License

CultMath is licensed under the MIT License (MIT), except for the Phacelle files, which are licensed under the Mozilla Public License 2.0 (MPL-2.0):

  • Shaders/CultMath.Phacelle.hlsl
  • the Phacelle sources compiled into Runtime/Plugins/CultMath.dll (math.Phacelle.cs and CultPhasor.cs in the GameCult/CultLib repository)

and for the Cycles node semantics files, which are licensed under the Apache License 2.0 (Apache-2.0):

  • Shaders/CultMath.Cycles.hlsl
  • the Cycles sources compiled into Runtime/Plugins/CultMath.dll (math.Cycles.cs in the GameCult/CultLib repository)

The package license expression is therefore MIT AND MPL-2.0 AND Apache-2.0, matching the GameCult.Math NuGet package. MPL-2.0 and Apache-2.0 are file-level: each applies to its files and not to the rest of CultMath.

The MPL-2.0 text is available from the Mozilla Foundation at https://www.mozilla.org/MPL/2.0/. Source and modification history for the precompiled assembly in this package are available in the GameCult/CultLib repository (packages/cultmath) at the corresponding package tag.

Third-party code retains its original license. See THIRD-PARTY-NOTICES.md.