bjorn před 5 roky
rodič
revize
3955459fd4
2 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 0 0
      api/init.lua
  2. 4 0
      api/lovr/graphics/newShader.lua

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
api/init.lua


+ 4 - 0
api/lovr/graphics/newShader.lua

@@ -82,6 +82,10 @@ return {
       instead of the `color` function, and can write color values to the `lovrCanvas` array instead
       instead of the `color` function, and can write color values to the `lovrCanvas` array instead
       of returning a single color.  Each color in the array gets written to the corresponding
       of returning a single color.  Each color in the array gets written to the corresponding
       texture attached to the canvas.
       texture attached to the canvas.
+    - `highp` is a boolean flag specific to mobile GPUs that changes the default precision for
+      fragment shaders to use high precision instead of the default medium precision.  This can fix
+      visual issues caused by a lack of precision, but isn't guaranteed to be supported on some
+      lower-end systems.
     - The following flags are used only by the `standard` PBR shader:
     - The following flags are used only by the `standard` PBR shader:
       - `normalMap` should be set to `true` to render objects with a normal map, providing a more
       - `normalMap` should be set to `true` to render objects with a normal map, providing a more
       detailed, bumpy appearance.  Currently, this requires the model to have vertex tangents.
       detailed, bumpy appearance.  Currently, this requires the model to have vertex tangents.

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů