Too be honest, Dax is working on 1.3.1 and said he will be releasing it in a day or two. You might be better off just waiting
A few hints. You only need to read the Hooks.java and not the .class files and understand how replacing methods works.
$_ = $proceed($$);
This is the same as the method being replaced.
And I suddenly realize I've been working off Hooks.class this whole time. The .java still lists like $1 $2. Do I have to replace those? Will MCP take care of that for me when it recompiles?
I gotta say, these shaders are great. I only have 1 or 2 problems with them. I noticed that with bokeh dof the effect is not applied with water. I'm guessing the effect isn't being applied on the reflection pass? should fix that.
Also is there anyway to raise the ambient light levels for dark areas? caves are pitch black! I tried Dark multi, but it causes major discoloration and washes out some of the color outside. If I raise the brightness setting everything is WAYYYY to bright(except unlit caves ofcourse)
I tried to simply change the list in the .java source and recompile it, but MCP's client.srg file is beating me up. It has name dependencies in other files, which overcomplicates the process. It's become harder than simply replacing the code myself - which is annoying considering you'd think directing an installer would be easier than doing the installers work.
I've successfully modded my Minecraft 1.3.1 using the code in the Hooks.java of dax's shader mod and it works perfectly. I still have issues using v10 (I have a nVidia 560M graphics card. Those issues existed in 1.2.5 so its not the code in 1.3.1 causing it), but here is a screenshot of different shaders (just shadows and bump mapping) and using LB Photo Realism x256 7.8.2_2 texture pack. Yes, I am also using Rei's Minimap for 1.3.1 as well.
ok fair enough, if i want this i gotta drop the lights, can do to increase the awesome level, plus i get to use another mod i want then (enhanced view distance mod, which is incompatible with dynamic lights) ...
also i assume i can drop the ''[1.2.5] Water Shader alpha v5b'' mod when using this v10 version?
The water shading in V10 looks a lot better than "Water Shader" in my opinion and I don't there is any simple way of combining the shader you mentioned with this one.
@ReconFirefly - Yes, all weapons have that for some reason with that texture pack. I think it has to do with the number of pixels in the texture, but not 100% sure. I'm kinda new to Minecraft (but not to programming). I've only messed around with very few texture packs.
If I understand, It's because the textures are 2d. the "side" of the object in your hand is just a repeated strip of the last column of pixels in the texture. It would take some heavy modding and skinning to change this.
If that's the same file that was linked a couple days ago, just drop it in your shaders folder, it works fine with V10 for me. If it's not, look a few pages back, someone posted what you are looking for.
I read somewhere that Daxnitro's shaders don't take advantage of Crossfire of SLI. Aparently Sonic Ether has a lot of optimizing planned. I was getting ~20 FPS with a 6850 and only went up to ~30 with a fresh 570GTX.
And I suddenly realize I've been working off Hooks.class this whole time. The .java still lists like $1 $2. Do I have to replace those? Will MCP take care of that for me when it recompiles?
$1 = parameter 1 of the method found.
$2 = parameter 2.
You have to replace those yourself. For instance:
renderWorld.insertBefore("Shaders.beginRender(" + EntityRenderer_mc +", $1, $2);");
This line means to add:
Shaders.beginRender(mc, par1, par2);
to the beginning of the renderWorld method inside the EntityRender class. If you look at the EntityRender.java file from MCP, the method for renderWorld is:
public void renderWorld(float par1, long par2)
$1 is the float par1, $2 is the long par2. If you look at the EntityRender fields, you can tell from this:
private Minecraft mc;
mc is the same as EntityRender_mc (just using logic).
Example code after you edit EntityRender.java:
public void renderWorld(float par1, long par2)
{
Shaders.beginRender(mc, par1, par2);
mc.field_71424_I.startSection("lightTex");
The first lost tells you exactly what's wrong, you're trying to run this mod on an Intel integrated GPU, you MUST use a dedicated graphics card for this mod, and as a rule if thumb, don't try this on a laptop, laptops are incredibly weak and more expensive compared to their desktop counterparts.
? i never said anything about combining shaders here... just getting rid of 'water shader' since v10 is assumingly better as stated above and therefore unnecessary and 'dynamic lights' for its incompatibility.
then introduce 'enhanced viewing distance' for even more awesomesauce.
^.- I was agreeing with you. Adding a point in the positive for dumping 'water shader' even though V10 is a beta.
I gotta say, these shaders are great. I only have 1 or 2 problems with them. I noticed that with bokeh dof the effect is not applied with water. I'm guessing the effect isn't being applied on the reflection pass? should fix that.
Also is there anyway to raise the ambient light levels for dark areas? caves are pitch black! I tried Dark multi, but it causes major discoloration and washes out some of the color outside. If I raise the brightness setting everything is WAYYYY to bright(except unlit caves ofcourse)
How did you prevent your tools/character coming up as white? TELL ME YOUR SECRETS.
Rollback Post to RevisionRollBack
CaveExplorer.MC (Australian|1.2.5|Survival|24/7)
No grief, no hack, no exploit | mc.caveexplorer.net | Experienced admins.
That one isn't too hard to figure out, you just need the minecraft.jar to be in the default directory to patch it, then you can move it back to wherever magic launcher grabs it from; select the optifine dynamic lighting patch only.
Tell me where to find the latest mod from the list?
i followed the mac installation video perfectly and the installer doesnt work. i click the install mods button but then it says fatal error. i click the log and it says:
Starting installation
Unpacking JAR
Fatal error!
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at daxnitro.nitrous.FileUtility.unzipFile(FileUtility.java:41)
at daxnitro.nitrous.InstallThread.unpackJAR(InstallThread.java:88)
at daxnitro.nitrous.InstallThread.run(InstallThread.java:39)
edit: i fixed this issue by compressing the bin and everything looks fine but when i open minecraft it freezes on updating minecraft
that wont help us much, what you need to do is go to your control panel, then to device manager and click on "Display Adapters"
Rollback Post to RevisionRollBack
Still a credit to your ruse, what a beautiful excuse, To never open up your eyes and see the things you lose,
Just climb the beanstalk when you die and meet the giant in the sky.
I LOVE IT! Unbelievably awesome, also, whenever I'm breaking a block, the animation comes up orange, red or other colors instead of plain black. any fixes?
This mod does NOT work on Intel GPU laptops, AT ALL, a dedicated GPU is required, people who have paid thousands for laptops can't play this mod, people who have paid less than half of that with desktops can only just run this mod
i5 2500k @ 4.5GHz
8GB DDR3
2x cfx 6950 2GB
Crucial M4 128GB SSD
W7 x64
And I suddenly realize I've been working off Hooks.class this whole time. The .java still lists like $1 $2. Do I have to replace those? Will MCP take care of that for me when it recompiles?
Also is there anyway to raise the ambient light levels for dark areas? caves are pitch black! I tried Dark multi, but it causes major discoloration and washes out some of the color outside. If I raise the brightness setting everything is WAYYYY to bright(except unlit caves ofcourse)
Very nice, nice coding.
The water shading in V10 looks a lot better than "Water Shader" in my opinion and I don't there is any simple way of combining the shader you mentioned with this one.
If I understand, It's because the textures are 2d. the "side" of the object in your hand is just a repeated strip of the last column of pixels in the texture. It would take some heavy modding and skinning to change this.
If that's the same file that was linked a couple days ago, just drop it in your shaders folder, it works fine with V10 for me. If it's not, look a few pages back, someone posted what you are looking for.
I read somewhere that Daxnitro's shaders don't take advantage of Crossfire of SLI. Aparently Sonic Ether has a lot of optimizing planned. I was getting ~20 FPS with a 6850 and only went up to ~30 with a fresh 570GTX.
$1 = parameter 1 of the method found.
$2 = parameter 2.
You have to replace those yourself. For instance:
renderWorld.insertBefore("Shaders.beginRender(" + EntityRenderer_mc +", $1, $2);");
This line means to add:
Shaders.beginRender(mc, par1, par2);
to the beginning of the renderWorld method inside the EntityRender class. If you look at the EntityRender.java file from MCP, the method for renderWorld is:
public void renderWorld(float par1, long par2)
$1 is the float par1, $2 is the long par2. If you look at the EntityRender fields, you can tell from this:
private Minecraft mc;
mc is the same as EntityRender_mc (just using logic).
Example code after you edit EntityRender.java:
public void renderWorld(float par1, long par2)
{
Shaders.beginRender(mc, par1, par2);
mc.field_71424_I.startSection("lightTex");
The first lost tells you exactly what's wrong, you're trying to run this mod on an Intel integrated GPU, you MUST use a dedicated graphics card for this mod, and as a rule if thumb, don't try this on a laptop, laptops are incredibly weak and more expensive compared to their desktop counterparts.
^.- I was agreeing with you. Adding a point in the positive for dumping 'water shader' even though V10 is a beta.
No grief, no hack, no exploit | mc.caveexplorer.net | Experienced admins.
Tell me where to find the latest mod from the list?
No grief, no hack, no exploit | mc.caveexplorer.net | Experienced admins.
Starting installation
Unpacking JAR
Fatal error!
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at daxnitro.nitrous.FileUtility.unzipFile(FileUtility.java:41)
at daxnitro.nitrous.InstallThread.unpackJAR(InstallThread.java:88)
at daxnitro.nitrous.InstallThread.run(InstallThread.java:39)
edit: i fixed this issue by compressing the bin and everything looks fine but when i open minecraft it freezes on updating minecraft
that wont help us much, what you need to do is go to your control panel, then to device manager and click on "Display Adapters"
Just climb the beanstalk when you die and meet the giant in the sky.
I remember reading somewhere that it is against the rules to beg for update. Be careful.
This mod does NOT work on Intel GPU laptops, AT ALL, a dedicated GPU is required, people who have paid thousands for laptops can't play this mod, people who have paid less than half of that with desktops can only just run this mod
For the 1st pic it was overcast so the lighting was less intense and therefore my sword was not white. Otherwise it would be uber white
on a side note here are moar pics from my server