Split body distance marching from material shading
This commit is contained in:
parent
fbe7f91f9d
commit
dbe32138d2
14 changed files with 175 additions and 49 deletions
|
|
@ -37,6 +37,7 @@
|
|||
"The fullscreen scene pass owns background and Grid only. Self, Face, Imagination, Eyes, Body, Hands, Soul, Life, and cursor each render through their own shader file and proxy pipeline using AgentVisualGpu, conservative screen rectangles from center plus bound radius, and travel-derived depth writes for Grid/body occlusion. Shared body proxy mechanics may live in includes; body identity SDF and material code should not collapse back into a single body shader.",
|
||||
"Reusable SDF primitives and preserved formulas belong in D3D12SdfMath.hlsli. Current role character organs belong in D3D12AgentCharacters.hlsli. D3D12Renderer expands local shader includes before D3DCompile because the Vortice convenience path does not provide a working include handler here.",
|
||||
"Shader include ownership should stay boring and strict: D3D12SdfMath.hlsli contains reusable SDF primitives and generic form helpers only; body-specific anatomy such as the cursor hibiscus lives in that body's shader; shared lighting equations live in D3D12BodyCommon.hlsli and take material parameters rather than being duplicated per body.",
|
||||
"Body proxy control flow is split by cost and authority: ray marching calls bodyDistance only, normals sample bodyDistance only, and bodySurface is evaluated once at the refined hit to return distance, material ids, albedo, roughness, F0, and emission. Final shading should go through shared material-parameterized lighting helpers such as shadeBodyPbr rather than re-evaluating SDF components for color.",
|
||||
"The first live AgentVisualState slice uploads current and previous centers, role id, state scalars, and LOD through AgentVisualGpu. Temporal reprojection must use those uploaded centers for agent field ids; do not rederive moving agent centers separately in post.",
|
||||
"Role SDF animation should avoid raw atan2 polar fields for lobe deformation unless the branch cut is explicitly handled. Use continuous harmonic polynomials over normalized XY directions for rotational lobes so sphere tracing does not open visible seams.",
|
||||
"If a role SDF still shows cut-through gaps after removing angular branch cuts, stop using radial pseudo-distance deformation for that organ. Prefer smooth unions of analytic primitives with conservative bounds so the marcher sees connected surfaces instead of decorative distance fiction.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue