Skip to content

armgit / kiln

Public Imported from GitHub
0

Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.

1.3 KB
Raw Blame
---
import { REVIEW_RIG } from "../lib/review-rig";

interface Props {
  /** The vehicle files also declare the optional MSFT_lod extension for their detail tiers. */
  vehicle?: boolean;
  /** Exact optional extensions read from this page's staged GLB. */
  extensions?: string[];
}
const { vehicle = false, extensions = [] } = Astro.props;
const { exposure, toneMapping } = REVIEW_RIG;
---

<p class="mt-3 max-w-reading text-caption text-dim" data-engine-note>
  <strong class="font-semibold text-ink">For your engine.</strong>{" "}
  The download is a standard glTF 2.0 binary (GLB) with PBR metallic-roughness
  materials{vehicle ? ", and the vehicle files also declare the optional MSFT_lod extension for their detail tiers" : ""}.
  {extensions.length > 0 && <> Optional extensions declared by this file: {extensions.join(", ")}. Importer support varies; see the <a class="text-link" href="/docs/engine-handoff/">Blender and Unity guide</a>.</>}
  {" "}glTF stores materials, not lighting or tone mapping, so your engine decides
  how they read. This 3D view tone-maps with Review Neutral, the Khronos PBR
  Neutral construction with a smaller glare offset ({toneMapping.offset} instead
  of 0.04), at exposure {exposure}. Its Tone mapping control also shows ACES and
  Linear, for comparison.
</p>