Skip to content

Instantly share code, notes, and snippets.

@felixjones

felixjones/BlusteryDay.zip Secret

Last active Apr 7, 2021
Embed
What would you like to do?

Two resource packs for latest 1.17 snapshot. Try them both!

@Reeses-Puffs

This comment has been minimized.

Copy link

@Reeses-Puffs Reeses-Puffs commented Mar 10, 2021

optifine is 🦀

@MMK21Hub

This comment has been minimized.

Copy link

@MMK21Hub MMK21Hub commented Mar 10, 2021

optifine is 🦀

It has been since 2019

@TriggrUnHappy

This comment has been minimized.

Copy link

@TriggrUnHappy TriggrUnHappy commented Mar 10, 2021

Ive tried this is the latest snapshot, all it really does is drop my framerate

@Azim

This comment has been minimized.

Copy link

@Azim Azim commented Mar 10, 2021

optifine is 🦀

More like optibad

@ColdIce1605

This comment has been minimized.

Copy link

@ColdIce1605 ColdIce1605 commented Mar 10, 2021

Ive tried this is the latest snapshot, all it really does is drop my framerate

standing still afk and coming back seems to help chunk gen is SOOO slow in these snapshots

@WinterGrave

This comment has been minimized.

Copy link

@WinterGrave WinterGrave commented Mar 10, 2021

I installed it but leaves don't move, is there any extra thing to do?

@Reeses-Puffs

This comment has been minimized.

Copy link

@Reeses-Puffs Reeses-Puffs commented Mar 10, 2021

I installed it but leaves don't move, is there any extra thing to do?

yeah you gotta enable fabulous mode

@GameDokter51

This comment has been minimized.

Copy link

@GameDokter51 GameDokter51 commented Mar 10, 2021

I tried it on the latest snapshot, but whenever I try turning either on it immediately crashes my game. Here is the bug report:
https://docs.google.com/document/d/15EzeuVhhpN8EftowyU9V8gFeegsTO8TQHi1eRwnFjKw/edit?usp=sharing

@FoundationGames

This comment has been minimized.

Copy link

@FoundationGames FoundationGames commented Mar 10, 2021

no more optifine, rejoice

@WinterGrave

This comment has been minimized.

Copy link

@WinterGrave WinterGrave commented Mar 10, 2021

I installed it but leaves don't move, is there any extra thing to do?

yeah you gotta enable fabulous mode

I had it on, my problem was incompatibility with another resource pack

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 10, 2021

Please use pastebin or something that should qualify as spam

Edit: Un-replied

@cocona20xx

This comment has been minimized.

Copy link

@cocona20xx cocona20xx commented Mar 10, 2021

Making a quick crash report; its likely that anything reliant on Fabulous Graphics will still crash/is not supported on certain hardware... including the new M1 Macs. Heres the relevant crash report, seems to be an issue with the Metal-OpenGL compat layer?

https://pastebin.com/f0xszp1M

This happens both when running under Rosetta 2 and when running under native-compiled libraries, with or without the shader resource pack.

@Dual-Iron

This comment has been minimized.

Copy link

@Dual-Iron Dual-Iron commented Mar 10, 2021

Awesome! Is there a way to configure these resource packs in-game? I was thinking that a config menu or data pack could work well, but I don't know if the shader would have any way of reading from them.

@LeotomasMC

This comment has been minimized.

Copy link

@LeotomasMC LeotomasMC commented Mar 10, 2021

Please use pastebin or something that should qualify as spam

as you quote the entire post, adding to the spam

@GameDokter51

This comment has been minimized.

Copy link

@GameDokter51 GameDokter51 commented Mar 10, 2021

I fixed it a while ago.
Sorry about covering the entirety of the chat.

@Nixinova

This comment has been minimized.

Copy link

@Nixinova Nixinova commented Mar 11, 2021

@JurassikLizard please unquote all of that

@Morelcia

This comment has been minimized.

Copy link

@Morelcia Morelcia commented Mar 11, 2021

yryr enjoyer

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 11, 2021

@JurassikLizard please unquote all of that

done

@Kronifer

This comment has been minimized.

Copy link

@Kronifer Kronifer commented Mar 11, 2021

waters working, trees arent

@Kronifer

This comment has been minimized.

Copy link

@Kronifer Kronifer commented Mar 11, 2021

mipmap looks bad

@AliAkbar3253

This comment has been minimized.

Copy link

@AliAkbar3253 AliAkbar3253 commented Mar 11, 2021

For anyone wondering, you gotta turn on Fancy or Fabulous graphics to see the leaves move. No. This does not work on Fast, unfortunately. But the water still does move with Fast.

@Kronifer

This comment has been minimized.

Copy link

@Kronifer Kronifer commented Mar 11, 2021

I turned on fabulous but leaves do not move

@Vextrove

This comment has been minimized.

Copy link

@Vextrove Vextrove commented Mar 11, 2021

Amazing!

@centuralus

This comment has been minimized.

Copy link

@centuralus centuralus commented Mar 11, 2021

This works perfectly; Thanks for the quick test/upload!

Register BAT/Brave so people can TIP you >.<

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 11, 2021

There should be some sort of tutorial on how to use this. I mean like, how to create these shaders with the new 1.17 shader system.

@Kronifer

This comment has been minimized.

Copy link

@Kronifer Kronifer commented Mar 11, 2021

Whats the purpose of mipinf?

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 11, 2021

It shows light level, but it's not that useful

@flynndenby

This comment has been minimized.

Copy link

@flynndenby flynndenby commented Mar 12, 2021

The game crashes on M1 Macs when in Fabulous mode with no resource packs enabled.

@Elkku6

This comment has been minimized.

Copy link

@Elkku6 Elkku6 commented Mar 12, 2021

I tried it on the latest snapshot, but whenever I try turning either on it immediately crashes my game. Here is the bug report:
https://docs.google.com/document/d/15EzeuVhhpN8EftowyU9V8gFeegsTO8TQHi1eRwnFjKw/edit?usp=sharing

thanks for not just copy pasting it to the comment

@Elkku6

This comment has been minimized.

Copy link

@Elkku6 Elkku6 commented Mar 12, 2021

sodium + this means optitrash

@otter501

This comment has been minimized.

Copy link

@otter501 otter501 commented Mar 12, 2021

sodium + this means optitrash

not yet, there are still some things in texturepacks that you can only do with optifine, until they add emersive textures and nameing stuff chnages texture optfine will still stand strong (also who doesnt like the video settings and zoom)

@LeotomasMC

This comment has been minimized.

Copy link

@LeotomasMC LeotomasMC commented Mar 12, 2021

textures based on names and lore and other nbt can pretty much be replaced by custom model data. sodiums video settings from what i have seen is also pretty decent. the only things that are really missing from a lithium sodium phosphor combination is zoom (which there are several fabric mods for), shaders (which there is a mod thats being worked on will be able to do, and these vanilla shaders to a lesser extent), and emissive textures (there is a mod that allows making textures emissive using models, but it makes resource packs not compatible with vanilla from my experience, also just having _e or whatever you want after the file name like in optifine would be amazing)

@superstorm192

This comment has been minimized.

Copy link

@superstorm192 superstorm192 commented Mar 13, 2021

For some reason any resource pack i add, the shader only works with some of the leaves, not all of them. Also one of the tested resource packs doesn't do anything to any leaves or water block and it still messes up the shader. Is there some debugging i can do to make a compatible recource pack or are shaders simply too new and buggy in the snapshot?

@superstorm192

This comment has been minimized.

Copy link

@superstorm192 superstorm192 commented Mar 13, 2021

also nowhere in the shader code do i see anything related to leaves, does this mean it's impossible for shaders to edit a certain block? (Say a shader only editing a crafting table)?

@isXander

This comment has been minimized.

Copy link

@isXander isXander commented Mar 13, 2021

i would love to see a full optifine shader port to resource packs. also, I dont believe mc has connected textures mod yet which optifine does

@Vextrove

This comment has been minimized.

Copy link

@Vextrove Vextrove commented Mar 13, 2021

also nowhere in the shader code do i see anything related to leaves, does this mean it's impossible for shaders to edit a certain block? (Say a shader only editing a crafting table)?

In the shader code, there is a part that says:

if (UV0.x >= 288.0 / 1024.0 && UV0.x <= 304.0 / 1024.0) {
    if (UV0.y >= 64.0 / 1024.0 && UV0.y <= 80.0 / 1024.0) {
        xs = sin(position.x + animation);
        zs = cos(position.z + animation);
    }
}

Basically, the if condition is checking which block it is rendering. You can remove the if condition and it will apply to all blocks with that rendertype

@Ewobee

This comment has been minimized.

Copy link

@Ewobee Ewobee commented Mar 18, 2021

It does not work in 21w11a

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 19, 2021

Yes, because certain things where changed.

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 19, 2021

also nowhere in the shader code do i see anything related to leaves, does this mean it's impossible for shaders to edit a certain block? (Say a shader only editing a crafting table)?

uv0 is a texture atlas of all the textures in the game, it is dependant on the resource pack, so that is why some resource packs break this shader. The check of uv0.x or uv0.y is the location of the current pixel relative to what texture it is, so for example, one of the the leaf textures is between an X of 288 and 304, and a Y of 64 and 80. (If you recall, textures are usually 16x16, that is why there is a range in which the pixel would qualify as a leaf).

@JurassikLizard

This comment has been minimized.

Copy link

@JurassikLizard JurassikLizard commented Mar 19, 2021

They will hopefully provide a better way to check what block it is (when 1.17 fully releases) than getting it from the texture atlas, as if resource packs break the shader, then that is no good.

@infinitygamer404

This comment has been minimized.

Copy link

@infinitygamer404 infinitygamer404 commented Mar 21, 2021

Hopefully this built-in shader feature gets improved more and more so that we don't have to rely on optifine anymore.
And also hope that sodium can cope with these changes and if both shaders and sodium work somewhere down the line, optifine will be even more redundant.

@Doomsdayrs

This comment has been minimized.

Copy link

@Doomsdayrs Doomsdayrs commented Mar 31, 2021

aw this doesn't work anymore ;-;

@Reeses-Puffs

This comment has been minimized.

Copy link

@Reeses-Puffs Reeses-Puffs commented Apr 6, 2021

Hopefully this built-in shader feature gets improved more and more so that we don't have to rely on optifine anymore.
And also hope that sodium can cope with these changes and if both shaders and sodium work somewhere down the line, optifine will be even more redundant.

I'm sure sodium will be perfectly fine, I'm more worried about canvas

@Reeses-Puffs

This comment has been minimized.

Copy link

@Reeses-Puffs Reeses-Puffs commented Apr 7, 2021

canvas already has a snapshot port going strong, so I guess they'll be fine as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment