I have temporarily disabled material blending for dirtmap and terrain stages with 0469f5ba5955d3ae12155e4c584a54a787e29cac. So dirtmap and terrain stages are instead just using simple, single-texture blending. It'd be nice if we had proper lighting (per pixel + dynamic) on them. However, this doesn't work as-is. It seems like blend is not enabled, or the correct blend function is not set, or the shader is not expecting blend in STAGE_MATERIAL passes (tho that works for alpha blended draw elements...).
The rockies on Edge are a good test bed for this. The material file specifies dirtmapping, and can take a terrain blend as well.
I have temporarily disabled material blending for dirtmap and terrain stages with 0469f5ba5955d3ae12155e4c584a54a787e29cac. So dirtmap and terrain stages are instead just using simple, single-texture blending. It'd be nice if we had proper lighting (per pixel + dynamic) on them. However, this doesn't work as-is. It seems like blend is not enabled, or the correct blend function is not set, or the shader is not expecting blend in
STAGE_MATERIAL
passes (tho that works for alpha blended draw elements...).The rockies on Edge are a good test bed for this. The material file specifies dirtmapping, and can take a terrain blend as well.