MAV with CreateMirror and alpha

Blitz3D Forums/Blitz3D Bug Reports/MAV with CreateMirror and alpha

This program generates an MAV, on the EntityAlpha command:

Graphics3D 640,480,0,2

camera=CreateCamera()
mirror=CreateMirror()
EntityAlpha mirror, 0.5

While Not KeyHit(1)
	UpdateWorld
	RenderWorld
	Flip
Wend

End


Not a big deal, but should be fixed, at least to ignore alpha values on mirrors...

I don't think it is a bug. With debug on, the error is 'entity is not a model'. The same would go for all objects that are no models, such as pivots.

b32's right..

Instead: Create a mirror, then create a plane, and set the alpha on the plane to make the mirror more or less visible...

A mirror is no geometry anyway. it only mirrors things.
Of course you can't set Alpha of a mirror, nor could you set the sound volume of a cube. See also EntityClass().