shader rework
All those special shaders have been merged together. Mostly working but the non-shader lighting seems a bit broken.
This commit is contained in:
parent
98cc7eeb99
commit
4d005bdfa0
28 changed files with 708 additions and 816 deletions
|
|
@ -136,7 +136,7 @@ void FGLBitmap::CopyPixelData(int originx, int originy, const BYTE * patch, int
|
|||
{
|
||||
BYTE *buffer = GetPixels() + 4*originx + Pitch*originy;
|
||||
|
||||
// CM_SHADE is an alpha map with 0==transparent and 1==opaque
|
||||
// alpha map with 0==transparent and 1==opaque
|
||||
if (alphatex)
|
||||
{
|
||||
for(int i=0;i<256;i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue