Interactive Utility

Source Filmmaker (SFM) Asset & Config Inspector

Validate Valve Material (.VMT) & Model Script (.QC) Configurations

Source Filmmaker relies on Valve’s proprietary Source Engine asset pipeline. A single missing double-quote, an unmapped diffuse texture, or misconfigured Phong specular exponent can cause models to render as missing purple/black checkerboards or crash the engine entirely. This client-side inspector verifies script syntax, highlights missing parameters, and provides filmic lighting recommendations.

SFM Technical Utility

Source Filmmaker (SFM) Asset & Config Inspector

Paste Valve Material Type (.VMT) or Model Script (.QC) code to inspect syntax, verify missing required parameters, and review rendering optimization tips.

Understanding Valve Material (.VMT) Parameters

Valve Material Type (VMT) text files define the surface shader and lighting properties of 3D meshes in Source Filmmaker. Below is a breakdown of essential parameters for realistic character and prop shading:

Parameter Type Description & Best Practices
$basetexture Texture Path Mandatory. Specifies the diffuse/albedo texture file path inside materials/. Do NOT include file extension .vtf.
$bumpmap Texture Path Specifies the normal map containing surface relief and height data. Required for Phong specular reflections to calculate angles correctly.
$phong Boolean (1/0) Enables dynamic specular highlights based on camera angles and light sources. Essential for organic skin, metals, and wet surfaces.
$phongboost Float Multiplier for highlight intensity. Recommended values: 1.0–2.5 for skin; 4.0–8.0 for polished armor or metals.
$phongexponent Integer Defines specular tightness. Low values (5–15) yield broad, matte sheen. High values (30–60) produce sharp, glossy reflections.
$rimlight Boolean (1/0) Enables edge/rim lighting around character silhouettes, separating models cleanly from dark background scenes.

Common QC Model Compilation Errors

When compiling 3D models with Valve’s studiomdl.exe, ensure that:

  • The $modelname parameter points to a valid destination relative to models/.
  • At least one $cdmaterials directory is defined matching the folder where your .vmt file is stored.
  • At least one $sequence (e.g. "idle" "anims/idle.smd" loop fps 30) is declared. Models compiled without a sequence cannot be spawned into SFM shots.

Instructions & Supported Formats

All inputs are validated in real-time according to strict web security standards:

  • Schemes: Must use http:// or https:// protocols.
  • Allowlisted Platforms: Patreon, Newgrounds, X (Twitter), YouTube, Gumroad, Boosty, Pixiv, and Steam Community.
  • SSRF Validation: Private IP ranges, localhost, and cloud metadata addresses are immediately blocked.

Privacy & Data Handling

Your privacy is guaranteed by design:

  • Zero account registration or personal data required.
  • No permanent storage of user-submitted link entries or scripts.
  • Results are temporarily cached for 15 minutes to prevent external server abuse.