Lines Matching refs:fog
194 if(state.fog.component) in quad()
196 …f = interpolate(xxxx, Df, rhw, primitive + OFFSET(Primitive,f), state.fog.flat & 0x01, state.persp… in quad()
594 void PixelRoutine::fogBlend(Vector4f &c0, Float4 &fog) in fogBlend() argument
603 pixelFog(fog); in fogBlend()
605 fog = Min(fog, Float4(1.0f)); in fogBlend()
606 fog = Max(fog, Float4(0.0f)); in fogBlend()
609 c0.x -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); in fogBlend()
610 c0.y -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])); in fogBlend()
611 c0.z -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[2])); in fogBlend()
613 c0.x *= fog; in fogBlend()
614 c0.y *= fog; in fogBlend()
615 c0.z *= fog; in fogBlend()
617 c0.x += *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); in fogBlend()
618 c0.y += *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])); in fogBlend()
619 c0.z += *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[2])); in fogBlend()
650 zw *= *Pointer<Float4>(data + OFFSET(DrawData,fog.scale)); in pixelFog()
651 zw += *Pointer<Float4>(data + OFFSET(DrawData,fog.offset)); in pixelFog()
654 zw *= *Pointer<Float4>(data + OFFSET(DrawData,fog.densityE)); in pixelFog()
659 zw *= *Pointer<Float4>(data + OFFSET(DrawData,fog.density2E)); in pixelFog()