DrawBlobShadow
function · lighting · primitive
- Address
0x6d7920· 1866 bytes, up to0x6d8069- Signature
void __thiscall (void *this)- Meaning
- Projects the blob texture under a model from its bounds and scale
- Confidence
- inferred
- Finding
- lighting/shadows#blob-shadow
- Test
lighting::shadow_axis_rotate_difftest,lighting::shadow_color_quantize_difftest,lighting::shadow_extent_gate_b_difftest,lighting::shadow_extent_gate_difftest,lighting::shadow_extent_inv_difftest,lighting::shadow_half_diff_difftest,lighting::shadow_inv_len_difftest,lighting::shadow_len_gate_difftest,lighting::shadow_offset_bias_difftest,lighting::shadow_quad_corner_transform_difftest,lighting::shadow_span_diff_difftest,lighting::shadow_vec3_len_scale_difftest
Finding: Blob shadow in lighting: shadows
A doodad model drawn with model flag 0x400 and without 0x8 casts a blob shadow when shadowLOD
is 1 and the model is loaded. The shadow is the blob texture projected over the model's first
sequence's bounds, each clamped to ±5, stretched down by 5/3 and up by 1 of a scale-derived
length, in white with the model's alpha.
The derivation is in the doc.
Callers 1
- DrawBlobShadowIfOn lighting
Callees 27
- SplatVector3 loadingscreen
- __ftol crt
- GetTextureDeviceObject gx
- SetVector3 spline
- Vector3LengthSquared spline
- NTempest::CImVector::Set ui
- 0x4b1df0 ui
- 0x5132f0 uicamera
- 0x513a40 unassigned
- GxRsSetWord gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- InitMatrix3x3 objectlayer
- DestroyAaBox objectlayer
- MinVector3 terrain
- MaxVector3 terrain
- ThirdOf lighting
- DrawDecal lighting
- CM2Model::GetBaseTransform models
- CM2Model::GetAlpha models
- CM2Model::GetSequenceInfo models
- MultiplyMatrix3 cmath
- ScaleMatrix3Rows3 cmath
- ScaleMatrix3Rows cmath
- BoundsOfPoints cmath
Calls and jumps by a bare address, from tables/calls.tsv.