Selaa lähdekoodia

Merge pull request #2926 from skyace65/GLSLPerformance

Add note about shader function performance in GLES2
Nathan Lovato 5 vuotta sitten
vanhempi
commit
bbfa5bee8e
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      tutorials/misc/gles2_gles3_differences.rst

+ 2 - 0
tutorials/misc/gles2_gles3_differences.rst

@@ -158,6 +158,8 @@ For a complete list of built-in GLSL functions see the :ref:`Shading Language do
 | vec_type **fwidth** ( vec_type p )                                                          |                                                  |
 +---------------------------------------------------------------------------------------------+--------------------------------------------------+
 
+.. note:: Functions not in GLES2's GLSL were added with Godots own shader standard library. These functions may perform worse in GLES2 compared to GLES3.
+
 ``textureSize()`` workaround
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^