chunky icon indicating copy to clipboard operation
chunky copied to clipboard

[Suggestion] Texture rotation/randomization

Open chland opened this issue 7 years ago • 4 comments

Quite a few years ago, Optifine added a feature called "Natural Textures". If you enabled it, it rotated the textures for certain blocks like sand or grass. The same seems nowadays be possible by using resource-packs (? sorry, I really don't know much about that stuff) and block-variants.

AFAIK, chunky doesn't really care much about block-model stuff ATM. So i guess thats the reason randomizing the textures that way doesn't work. But I was wondering if it would be possible to add a checkbox to either the "Advanced"-tab to enable random rotation for certain blocks like grass, sand, stone, snow, etc. or add an "Allow Texture Rotation" checkbox to the new material-config (probably even divided into different settings for the top/bottom/sides of the block). And if you enable that feature, chunky just rotates the texture randomly by 0/90/180/270 for every block.

Here is a little screenshot that shows the difference:

random_texture

chland avatar Jul 06 '17 13:07 chland

Oops: just saw that https://github.com/llbit/chunky/issues/400 is kinda similar to my suggestion.

chland avatar Jul 06 '17 14:07 chland

It's similar in goal but very different in proposed technique to reach that goal.

-Sean

-- Sean Ahern Computational Engineering International 919-363-0883

On Thu, Jul 6, 2017 at 10:52 AM, chland [email protected] wrote:

Oops: just saw that #400 https://github.com/llbit/chunky/issues/400 is similar to my suggestion.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/llbit/chunky/issues/435#issuecomment-313419813, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkqlJtctGKnHUBhknp_axUr8Iy6nXLOks5sLPSRgaJpZM4OPokX .

ahernsean avatar Jul 06 '17 14:07 ahernsean

Yeah, my idea is a lot simpler and doesn't affect the grass-plant/bush/blades (whatever it is called :)) but only the texture of the block beneath it to get rid of the moiré pattern thats caused by the repeated textures.

chland avatar Jul 07 '17 08:07 chland

Related to #137 (which proposes to use different animation frames for animated textures)

leMaik avatar Apr 25 '20 22:04 leMaik