Browse Source

Merge pull request #2769 from clayjohn/gles2_diff_update

Update GLES2 differences doc with recent changes
Rémi Verschelde 5 years ago
parent
commit
57f824c185
1 changed files with 5 additions and 31 deletions
  1. 5 31
      tutorials/misc/gles2_gles3_differences.rst

+ 5 - 31
tutorials/misc/gles2_gles3_differences.rst

@@ -76,15 +76,15 @@ In GLES2, the following features in the :ref:`Environment <class_Environment>` a
 - Tonemapping
 - Screen space reflections
 - Screen space ambient occlusion
-- Depth of field
-- Glow (also known as bloom)
-- Adjustment
  
 That means that in GLES2 environments you can only set:
 
 - Sky (including procedural sky)
 - Ambient light
 - Fog
+- Depth of field
+- Glow (also known as bloom)
+- Adjustment
 
 GIProbes
 --------
@@ -127,30 +127,8 @@ For a complete list of built-in GLSL functions see the :ref:`Shading Language do
 +------------------------------------------------------------------------+--------------------------------------------------+
 | Function                                                               | Note                                             |
 +========================================================================+==================================================+
-| vec_type **sinh** ( vec_type )                                         |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **cosh** ( vec_type )                                         |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **tanh** ( vec_type )                                         |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **asinh** ( vec_type )                                        |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **acosh** ( vec_type )                                        |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **atanh** ( vec_type )                                        |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **round** ( vec_type )                                        |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **roundEven** ( vec_type )                                    |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_type **trunc** ( vec_type )                                        |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
 | vec_type **modf** ( vec_type x, out vec_type i )                       |                                                  |
 +------------------------------------------------------------------------+--------------------------------------------------+
-| vec_bool_type **isnan** ( vec_type )                                   |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| vec_bool_type **isinf** ( vec_type )                                   |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
 | vec_int_type **floatBitsToInt** ( vec_type )                           |                                                  |
 +------------------------------------------------------------------------+--------------------------------------------------+
 | vec_uint_type **floatBitsToUint** ( vec_type )                         |                                                  |
@@ -161,12 +139,6 @@ For a complete list of built-in GLSL functions see the :ref:`Shading Language do
 +------------------------------------------------------------------------+--------------------------------------------------+
 | mat_type **outerProduct** ( vec_type, vec_type )                       |                                                  |
 +------------------------------------------------------------------------+--------------------------------------------------+
-| mat_type **transpose** ( mat_type )                                    |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| float **determinant** ( mat_type )                                     |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
-| mat_type **inverse** ( mat_type )                                      |                                                  |
-+------------------------------------------------------------------------+--------------------------------------------------+
 | ivec2 **textureSize** ( sampler2D_type s, int lod )                    | See workaround below                             |
 +------------------------------------------------------------------------+--------------------------------------------------+
 | ivec2 **textureSize** ( samplerCube s, int lod )                       | See workaround below                             |
@@ -214,6 +186,8 @@ uniform with the texture size yourself.
     material_name.set_shader_param("textureName", my_texture)
     material_name.set_shader_param("textureName_size", my_texture_size)
 
+Built in variables and render modes
+-----------------------------------
 
 Godot also provides many built-in variables and render modes. Some cannot be supported in GLES2. Below is a list of
 built-in variables and render modes that, when written to, will have no effect or could even cause issues when using