Skip to content

Commit

Permalink
Update CurrentTextures.gd
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterVdc committed Apr 27, 2024
1 parent 6464194 commit 79fbe86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scenes/CurrentTextures.gd
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ func set_current_texture_pack():
if oGame3D.materialArray.size() > 0:
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_A1", cachedTextures[value][0])
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_A2", cachedTextures[value][1])
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_A1", cachedTextures[value][2])
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_A2", cachedTextures[value][3])
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_B1", cachedTextures[value][2])
oGame3D.materialArray[0].set_shader_param("dkTextureMap_Split_B2", cachedTextures[value][3])

for nodeID in get_tree().get_nodes_in_group("VoxelViewer"):
if nodeID.oAllVoxelObjects.mesh != null:
Expand Down

0 comments on commit 79fbe86

Please sign in to comment.