hi

I have a strange lod0 related issue in my shade-c shadowmapping conversion, I would be happy if someone could explain me what possibly happens. or maybe engine related... (earlier I had similar with pssm but don't remember what was the reason maybe level_ent size?)

the shadow of a model disappears when its lod0 model is visible, but only when:

- NOLOD is not set for the depth view (it is better because shadows do not change on lod model change)

- a model has only lod0 and lod1 .mdl files (if has lod2 and lod3 it does not happen)

- shadow area is high (>2500 quants)

- sun tilt is low (<30 degree)

- camera is nearly in opposite of sun direction

left: lod0+lod1 model (bad), mid: lod0-lod3 model (fine), right: model without lod (fine)


Free world editor for 3D Gamestudio: MapBuilder Editor