Jump to content
  • 0

48x48 Textures in Boom


Matthias

Question

3 answers to this question

Recommended Posts

  • 3

It only wants powers of two. So 2, 4, 8j, 16, 32, 64, 128, 256, 512, 1024, etc.

 

Note that vertical tiling seems fine. However, vanilla can only tile vertically every t128 texels -- if a texture is shorter, you get the weird pixel vomit known as tutti-frutti; and if a texture is taller it gets cut short at 128. This was fixed in Boom, but not the horizontal tiling issue.

 

Something you can do is cheat. Define your texture as being very large, like 2048x48 or something, and manually tile the patch yourself every 48 pixels in the texture editor. As long as you use it on lines that are a multiple of 48 and shorter than 2048 (or whichever size you chose) it should look right.

Share this post


Link to post
  • 1

The texture width needs to be a power of 2. Otherwise it cuts down to lowest.

You would need to widen it to 64 and then use a series of 48 units linedefs. Or just enlarge them.

Share this post


Link to post
  • 0
25 minutes ago, Gez said:

It only wants powers of two. So 2, 4, 8j, 16, 32, 64, 128, 256, 512, 1024, etc.

 

Note that vertical tiling seems fine. However, vanilla can only tile vertically every t128 texels -- if a texture is shorter, you get the weird pixel vomit known as tutti-frutti; and if a texture is taller it gets cut short at 128. This was fixed in Boom, but not the horizontal tiling issue.

 

Something you can do is cheat. Define your texture as being very large, like 2048x48 or something, and manually tile the patch yourself every 48 pixels in the texture editor. As long as you use it on lines that are a multiple of 48 and shorter than 2048 (or whichever size you chose) it should look right.

 

The solution is kinda bizzare and it felt wierd doing it... but suprisingly it works :D Thanks!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...