Shaders Mod (updated by karyonix)

I am also among those that when you download the installer from the official site, you get nothing but malware and security alerts. When you try to run the installer it insists on installing many malware programs that can only be deleted when you boot in safe mode. McAfee WebAdvisor and Malwarebytes both give you security warnings on downloading the installer.

If this is such a great mod like it seems, they shouldn't need to package the installer with the malware. And to the defenders of the malware... yes I got the installer from the official website linked in this forum.

The only part of that mod that's shader related is the blur filter, but even that needs to be used in combination with an actual mod changing the camera perspectives. Unless your goal is to make it so that it feels like your Minecraft character needs glasses, you'd need a full revive of the mod too.

Rollback Post to RevisionRollBack

Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!

I know it's a long shot but is there anyone around who knows enough about writing shaders to port the tilt-shift shader from this old mod? (Scroll to download and choose Final.fsh).

I think it needs proper settings added rather than taking the variables from the companion mod, and it needs a .vsh

Alternatively, anyone got a tip on where to go to figure this out? I've seen this wiki but it seems pretty bare.

Here you go. It isn't the same tilt shift effect from the mod, but is a tilt shift shader I just wrote in an hour or two. It has options for controlling the axis it uses, the strength, the amount of samples, and it also has a dispersion effect like more complete shaders tend to have. You could also modify it to be a full depth of field effect very easily, by just changing a single variable and replacing the code for that variable. I do recommend using Optifine instead of Karyonix's shaders mod, as otherwise you won't get the options system Optifine supports, but it should work with Karyonix's shaders mod.

As for the perspective features, that is much harder. You'd need to write custom transform and projection matrices, and completely override the default camera with a custom one. That has been done before (see the Acid Interstate videos by BruceKnowsHow, a lot of stuff in them requires custom matrices), but is outside my capabilities.

Here you go. It isn't the same tilt shift effect from the mod, but is a tilt shift shader I just wrote in an hour or two. It has options for controlling the axis it uses, the strength, the amount of samples, and it also has a dispersion effect like more complete shaders tend to have. You could also modify it to be a full depth of field effect very easily, by just changing a single variable and replacing the code for that variable. I do recommend using Optifine instead of Karyonix's shaders mod, as otherwise you won't get the options system Optifine supports, but it should work with Karyonix's shaders mod.

As for the perspective features, that is much harder. You'd need to write custom transform and projection matrices, and completely override the default camera with a custom one. That has been done before (see the Acid Interstate videos by BruceKnowsHow, a lot of stuff in them requires custom matrices), but is outside my capabilities.

Hi, thanks so much! The tilt-shift effect is what I was looking for, as interesting as the rest of that mod is
And yes, I am using optifine, this just seemed like the correct thread to discuss shaders in a general sense.
Your shader works well and the comments were super helpful for figuring out how it works!
That said, it looks to me like the shader from that old mod made use of depth. I messed around a bit with MrY's DoF shader, and I got some fake-miniature effects from turning the hyperfocal distance way up. I guess this is moving away from tilt-shift and instead just making the focus behave a bit like everything is physically small... but maybe we shouldn't use the real world's compromises with a virtual camera?
It looks to me like the blur in this DoF shader isn't as good as yours though, unless I'm just pushing it too far.

You mentioned in your shader that it wouldn't be too hard to turn it into a DoF shader. Is that something you're interested in doing? It's ok if not, I should be able to plug the right things in. I just get the impression it'd take me a while longer. And, well, you might have a better idea of which variables could go crazy big/small (I've been using a hyperfocal distance of 10000 rather than the default 3).

Hi, thanks so much! The tilt-shift effect is what I was looking for, as interesting as the rest of that mod is
And yes, I am using optifine, this just seemed like the correct thread to discuss shaders in a general sense.
Your shader works well and the comments were super helpful for figuring out how it works!
That said, it looks to me like the shader from that old mod made use of depth. I messed around a bit with MrY's DoF shader, and I got some fake-miniature effects from turning the hyperfocal distance way up. I guess this is moving away from tilt-shift and instead just making the focus behave a bit like everything is physically small... but maybe we shouldn't use the real world's compromises with a virtual camera?
It looks to me like the blur in this DoF shader isn't as good as yours though, unless I'm just pushing it too far.

You mentioned in your shader that it wouldn't be too hard to turn it into a DoF shader. Is that something you're interested in doing? It's ok if not, I should be able to plug the right things in. I just get the impression it'd take me a while longer. And, well, you might have a better idea of which variables could go crazy big/small (I've been using a hyperfocal distance of 10000 rather than the default 3).

Here you go! To get the effect you're looking for, turn Auto Adjust off, and play around with Fixed Focal Point, Strength and Macro Adjustment until you get something you like. The Fixed Focal Point is in blocks, and can go up to 64 blocks in increments of 4 through the settings menu.

The mod might have used depth, not sure, but that shader you linked seems to use real-world equations for the camera: something I'm not familiar with. Still, you can get a comparable result by messing around with the options in my pack.

Here you go! To get the effect you're looking for, turn Auto Adjust off, and play around with Fixed Focal Point, Strength and Macro Adjustment until you get something you like. The Fixed Focal Point is in blocks, and can go up to 64 blocks in increments of 4 through the settings menu.

The mod might have used depth, not sure, but that shader you linked seems to use real-world equations for the camera: something I'm not familiar with. Still, you can get a comparable result by messing around with the options in my pack.

Awesome! Thanks so much for indulging my curiosity.
This experiment has got me reading wiki pages, wondering what else can be done to simulate depth. There aren't many options, but there are a few that make me want to learn to code these shaders myself

Yeah this might have been discussed earlier, but when I launch the installer (from shadersmod.net, MC version 1.12.2), my AntiVirus Avira blocks the installation, moves the file to quarantine and marks it as PUA/InstallCore (Cloud).

What I know, that is something with unwanted apps, so I wanna know if there is a Non-dangerous version or if it is a problem of the install packager that they use.

Thanks in advance!

I just Downloaded the mod again to check , it scans clean . Right click on file and choose properties , then check the unblock box . Then scan with Windows 10 Defender .

Can anyone link me the most natural realistic shader mod? one that is not full of cinematic effects like lens flare. rain drops on screen and stuff like that? something like what you would see through the human eye and not a camera lens? and no motion blur or added anti-aliasing? without oversaturated contrasted colors and stuff?

Can anyone link me the most natural realistic shader mod? one that is not full of cinematic effects like lens flare. rain drops on screen and stuff like that? something like what you would see through the human eye and not a camera lens? and no motion blur or added anti-aliasing? without oversaturated contrasted colors and stuff?

I myself would love one like that.

Rollback Post to RevisionRollBack

Join My Server The Valley! NOW ON DISCORD! GO TO THE FORUM TO GET TO THE OFFICIAL DISCORD!Survival, Creative, no PvP (May change). Come Join today!