add alpha blendering option (disabled by default) using w component of color

add low-level support function demo (test)
This commit is contained in:
Erwin Coumans
2014-10-15 18:05:11 -07:00
parent ce0ad64475
commit eda1ff77db
8 changed files with 147 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ struct CommonGraphicsApp
virtual void drawText( const char* txt, int posX, int posY) = 0;
virtual int registerCubeShape(float halfExtentsX,float halfExtentsY, float halfExtentsZ)=0;
virtual int registerGraphicsSphereShape(float radius, bool usePointSprites, int largeSphereThreshold, int mediumSphereThreshold)=0;
virtual int registerGraphicsSphereShape(float radius, bool usePointSprites=true, int largeSphereThreshold=100, int mediumSphereThreshold=10)=0;
};