Materials and texture bindings ### Materials and texture bindings These diagnostics come from imported-material inspection, preview synthesis and package material checks. Missing files, wrong texture roles, unsupported shader features or changed sidecars can cause them. Reconnect the correct source textures and inspect alpha, colour space, normal maps and packed channels. Informational synthesis or fallback messages describe preview decisions, not proof of a broken game mod. Review the affected material and exported dependencies; do not treat a successful preview as game compatibility. **`base_texture_used_as_emissive`** - `Same DDS is bound to both base/color and emissive parameters; source emissive authority is ambiguous.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`compiler_failed`** - `{type(exc).__name__}: {exc}` **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`compiler_fallback`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`compiler_manifest_invalid`** - `canonical material compiler exceeded the generated-channel limit` - `canonical material compiler returned an invalid generated-channel list` - `canonical material compiler returned an invalid submesh list` - `canonical material compiler returned an invalid submesh row` - `canonical material compiler returned invalid channel metadata` **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`compiler_owner_conservation_failed`** - `generated PAC channels were rejected because their exact material owner was not conserved` **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`generated_base_luminance_capped`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`generated_channel_encode_failed`** - `{encode_channel}: {type(exc).__name__}: {exc}` **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`generated_channel_missing`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`generated_channel_outside_owned_root`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`inspection_failed`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`material_synthesis_budget_exceeded`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`material_synthesis_fallback`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`mesh_rust_authoring.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/mesh_rust_authoring.py) **`missing_payload`** - `DDS payload bytes and source file are unavailable.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`multi_role_texture_binding`** - `DDS has multiple material binding roles; verify routing is intentional.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`neutral_metal_base_synthesized`** - `weapon/armor metal had no reliable full base albedo; neutral base seeded from vertex/material/category hints` **Source**: [`native_preview_material_contract.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/rendering/native_preview_material_contract.py) **`no_reliable_full_base_albedo`** - `Crimson texturelayer diffuse inputs were retained as masked layer contribution, not whole-surface albedo` **Source**: [`native_preview_material_contract.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/rendering/native_preview_material_contract.py) **`normal_format_not_bc5`** - `Normal texture is not BC5; verify tangent-space XY packing and normal Y policy.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`normal_srgb_format`** - `Normal texture uses an sRGB format; normals should be linear.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`normal_y_policy`** - `Normal Y policy is recorded for preview/export review.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`normal_y_policy_unconfirmed`** - `Normal source filename did not declare green_up/directx; verify Y was not flipped incorrectly.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_alpha_from_texture_channel`** - `Source packed material texture alpha channel carries technical data, not visible opacity.` - `Source texture alpha channel carries visible opacity evidence.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_alpha_intent_without_opacity_evidence`** - `Material name/class implies glass or translucent response, but no alpha/opacity source channel was found.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_alpha_without_opacity_texture`** - `Source material declares alpha but no opacity/alpha texture slot is present.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_base_texture_bound_as_emissive`** - `Texture name/path looks like a base color texture but is routed through an emissive slot.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_base_texture_bound_as_normal`** - `Texture name/path looks like a base color texture but is routed through a normal slot.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_emissive_scalar_no_texture`** - `Source material has emissive scalar/color data but no emissive texture.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_legacy_fixed_function_workflow`** - `Source material uses legacy fixed-function/scalar channels rather than glTF PBR workflow.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_material_response_texture_bound_as_base`** - `Texture name/path looks like packed material response data but is routed through a base color slot.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_missing_base_color`** - `Source material has no base-color texture in the package preview model.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_missing_emissive`** - `Source material has no emissive texture or scalar hint.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_missing_metalness`** - `Source material has no metalness texture or scalar hint; preview/export must use defaults or target response.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_missing_roughness`** - `Source material has no roughness texture or scalar hint; preview/export must use defaults or target response.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_missing_roughness_metalness`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_missing_{channel}`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_packed_a_channel_technical`** - `Source packed material texture alpha channel carries technical data, not visible opacity.` - `Source texture alpha channel carries visible opacity evidence.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_spec_gloss_derived_material_channels`** - `Specular/glossiness source channels will derive roughness/metalness for Crimson material masks.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_spec_gloss_texture_as_base_color`** - `Specular/gloss texture appears to be used as base color; verify source workflow routing.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_spec_gloss_texture_bound_as_base`** - `Texture name/path looks like specular-glossiness data but is routed through a base color slot.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py) **`source_vertex_alpha_opacity`** - `Source material has vertex alpha opacity data.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`source_vertex_color_present`** - `Source material has vertex color data that can tint or replace base color.` **Source**: [`external_model_audit.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/external_model_audit.py), [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`technical_slot_srgb_format`** - `Technical/material slot uses sRGB format; packed scalar channels should be linear.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`texture_bound_to_visible_and_technical_roles`** - `Same DDS is bound to visible color/emissive and technical material roles.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`texturelayer_kept_masked`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`native_preview_material_contract.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/rendering/native_preview_material_contract.py) **`uncompressed_channel_order`** - `Uncompressed DDS channel order detected: {channel_order.upper()}. Verify RGBA/BGRA expectations.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`visible_color_linear_format_review`** - `Visible color DDS is not marked sRGB; verify intended color space.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) **`visible_color_technical_format`** - `Visible color slot uses a scalar/vector technical DDS format.` **Source**: [`final_package_material_authority.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/final_package_material_authority.py) CDMW 0.12.0-alpha.8