Skip to main content
Known Participant
April 9, 2022
Answered

Tiling texture without resampling

  • April 9, 2022
  • 1 reply
  • 431 views

I have a 128x128 pixel texture that I need to tile 8 times over a 1024x1024 pixel output without changing any pixel.

The tile generator node resamples the texture. I have tried to set the sampling to "Nearest" but I'm still getting this antialiased result.

Is there any other way to do this and get a perfect tiled output with the exact pixels from the input?

 

This topic has been closed for replies.
Correct answer davescm

Use a transformation 2D node.

Set output size to Absolute at 1024 x 1024 px

Set stretch to Width 12.50% and height 12.50% and apply both.

Set Offset to X -0.5 and y -0.5

 

 

That will give you an 8x8 grid of your original image mapped onto the new larger image without any anti-aliasing

 

Dave

 

1 reply

davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
April 9, 2022

Use a transformation 2D node.

Set output size to Absolute at 1024 x 1024 px

Set stretch to Width 12.50% and height 12.50% and apply both.

Set Offset to X -0.5 and y -0.5

 

 

That will give you an 8x8 grid of your original image mapped onto the new larger image without any anti-aliasing

 

Dave

 

Known Participant
April 10, 2022

That's exactly what I need, thanks Dave 🙂