From cd1ce549ab19c7b0ee15fe629f88ef91ac050efc Mon Sep 17 00:00:00 2001 From: cutealien Date: Thu, 1 Feb 2024 20:49:37 +0000 Subject: [PATCH] Update documentation for EMT_SOLID_2_LAYER Remove comment that it's not working on OpenGL. Not sure when it got fixed, but it's implemented and seems to work as described. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6594 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/EMaterialTypes.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/EMaterialTypes.h b/include/EMaterialTypes.h index 2d38a3d2..072f846d 100644 --- a/include/EMaterialTypes.h +++ b/include/EMaterialTypes.h @@ -20,8 +20,7 @@ namespace video //! Solid material with 2 texture layers. /** The second is blended onto the first using the alpha value - of the vertex colors. This material is currently not implemented in OpenGL. - */ + of the vertex colors. */ EMT_SOLID_2_LAYER, //! Material type with standard lightmap technique @@ -187,8 +186,8 @@ namespace video EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA, //! BlendFunc = source * sourceFactor + dest * destFactor ( E_BLEND_FUNC ) - /** Using only first texture. Generic blending method. - The blend function is set to SMaterial::MaterialTypeParam with + /** Using only first texture. Generic blending method. + The blend function is set to SMaterial::MaterialTypeParam with pack_textureBlendFunc (for 2D) or pack_textureBlendFuncSeparate (for 3D). */ EMT_ONETEXTURE_BLEND,