Open "shadow.vsh", and find a section of code which has a bunch of "varying" variables. Add this code to that section:
varying vec2 entity;
Then scroll down until you hit the main function (it'll have "void main()" there). Make a new line directly under the function header ("void main()" part), and add this code:
entity = mc_Entity.xz;
Then open "shadow.fsh". Again, find the section with a bunch of "varying" variables and add this code there:
varying vec2 entity;
Then scroll down until you hit the main function, make a new line under, and add this code:
Anyone know what I need to edit to turn off the shadows of a shader?
or at least, turn off the shadows of the grass and plants, and keep the shadows from the blocks
Open "shadow.vsh", and find a section of code which has a bunch of "varying" variables. Add this code to that section:
Then scroll down until you hit the main function (it'll have "void main()" there). Make a new line directly under the function header ("void main()" part), and add this code:
Then open "shadow.fsh". Again, find the section with a bunch of "varying" variables and add this code there:
Then scroll down until you hit the main function, make a new line under, and add this code:
This might lower your FPS a bit, though.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Hey, so I tried doing this but it wont let me save it to a .vsh file