• Godot Help
  • I cant get the LargeTexture texture to work

So i am trying to use large the largetexture texture, but its just blank white and i dont get an error.
$Sprite3D.texture=LargeTexture.new()
$Sprite3D.texture.set_size(Vector2(1200,1800))
$Sprite3D.texture.add_piece(Vector2(400,700),texture)

I tried doing print($Sprite3D.texture.get_piece_offset(0)) and it even returns (400,700)
also; $Sprite3D.texture=texture works totally fine

Not sure off the top of my head, but LargeTexture might have been intended for 2D iirc.

Yeah, I think the large texture is meant for 2D and may not have 3D support. Is there a reason you are looking to use a large texture rather than a normal texture? I think normal textures can be at least 4K in size.

You might also be able to use multiple Sprite3D nodes by taking the texture and splitting it up into equal parts (like splitting it into four pieces - four Sprite3D nodes to display).

    TwistedTwigleg
    the reason why im trying to use largetexture is because it can put multiple images together, it doesnt work in 2d either, il guess i just have to use multiple sprites

      liuyrf if it doesn’t work in 2D, then I might make a bug report, as I think it is supposed to work in 2D at least…