summaryrefslogtreecommitdiff
path: root/examples/heightmap/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/heightmap/main.lua')
-rw-r--r--examples/heightmap/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua
index ecc6993..899ab72 100644
--- a/examples/heightmap/main.lua
+++ b/examples/heightmap/main.lua
@@ -7,6 +7,7 @@ local tilesetTex = -1
local heigthImage = -1
local mesh = -1
local material = -1
+local lightmap = -1
local grassRec = { 6 * TILE_SIZE, 0 * TILE_SIZE, TILE_SIZE, TILE_SIZE }
local dirtRec = { 4 * TILE_SIZE, 0 * TILE_SIZE, TILE_SIZE, TILE_SIZE }
@@ -64,6 +65,8 @@ function init()
material = RL_LoadMaterialDefault()
RL_SetTextureSource( TEXTURE_SOURCE_RENDER_TEXTURE )
+ -- RL_GenTextureMipmaps( groundTexture )
+ -- RL_SetTextureFilter( groundTexture, TEXTURE_FILTER_TRILINEAR )
RL_SetMaterialTexture( material, MATERIAL_MAP_ALBEDO, groundTexture )
RL_SetTextureSource( TEXTURE_SOURCE_TEXTURE )