Pārlūkot izejas kodu

Material textures must be 2d;

bjorn 3 gadi atpakaļ
vecāks
revīzija
a7d755d02b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      api/lovr/graphics/Material/setTexture.lua

+ 1 - 0
api/lovr/graphics/Material/setTexture.lua

@@ -26,6 +26,7 @@ return {
       returns = {}
     }
   },
+  notes = 'Textures must have a `TextureType` of `2d` to be used with Materials.',
   related = {
     'MaterialTexture',
     'lovr.graphics.newTexture'