mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-03 00:40:41 +01:00
86dd0cde26
- 10 year anniversary update - Lighting model reworked. moved to eyespace like openGL. [Specular Highlights, Fog, Sphere/Reflection Map] - increased internal s4DVertex to support 4 Textures and 4 Colors [switchable] - Textures are handled as sRGB during Mipmap Generation. More accurate, less visual disruption - 2D is drawn as 3D like hardware drivers. [switchable]. enables viewport scaling, material2D - Texture Spatial Resolution Limiting working. [lower memory consumption,SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE] - SuperTuxKart 8.0.1 playable git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6086 dfc29bdd-3216-0410-991c-e03cc46cb475
21 lines
269 B
C
21 lines
269 B
C
}
|
|
|
|
#ifdef IPOL_Z
|
|
line.z[0] += slopeZ;
|
|
#endif
|
|
#ifdef IPOL_W
|
|
line.w[0] += slopeW;
|
|
#endif
|
|
#ifdef IPOL_C0
|
|
line.c[0][0] += slopeC;
|
|
#endif
|
|
#ifdef IPOL_T0
|
|
line.t[0][0] += slopeT[0];
|
|
#endif
|
|
#ifdef IPOL_T1
|
|
line.t[1][0] += slopeT[1];
|
|
#endif
|
|
}
|
|
|
|
}
|