well the title says it all. Sometimes light blend can be too bright, yet you need a similar effect. Does anyone know if the params for lightblend can be altered at all so it's not quite so intense?
thanks.
thanks.
Graphics 800,600 image:TImage=LoadImage("max.png") n:Float=0.4 SetBlend alphablend While Not KeyHit(key_escape) Cls SetAlpha 1.0 Setmodnormal() SetColor 255,255,255 DrawImage image , 100 , 100 SetBlend lightblend SetColor 128,128,128 settowhite() SetAlpha n DrawImage image,100,100 n:+0.01 If n>1.0 n=0.1 Flip Wend Function setmod2x() PrimaryDevice.device.SetTextureStageState(0,D3DTSS_COLOROP,D3DTOP_MODULATE2X) End Function Function setmodnormal() PrimaryDevice.device.SetTextureStageState 0,D3DTSS_COLOROP,D3DTOP_MODULATE PrimaryDevice.device.SetTextureStageState 0,D3DTSS_ALPHAOP,D3DTOP_MODULATE End Function Function settowhite() PrimaryDevice.device.SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_SELECTARG2 ); PrimaryDevice.device.SetTextureStageState( 0, D3DTSS_COLORARG2, D3DTA_DIFFUSE ); End Function