GT6 and shaders (because I can)


#1

I think the title of the topic speaks for itself, so I will add quite a bit (or even a lot). I’ve tried some shaderpacks with latest optifine, and I’ve found two issues (only one with gt though). It is about gregtech:gt.block.ocean and BuildCraft|Energy:blockOil, this blocks are rendering vanilla-style. So, I’ve fixed it, here are changed versions: RRe36_s_Shaders_v7_High_19_GT_SEA_WATER and Continuum-2.0.2_GT_SEA_WATER (extract to shaderpacks folder). Note, that RRe36 uses numeric blockID for detecting blocks by default, and I didn’t changed it for now, so you need to edit shaders/gbuffers_water.vsh (lines 118 and 132, replace blockID to correct one).

Some screenshots:

RRe36





Continuum






There are some issues right now, that I might fix (or not, if I will be too lazy). For example, line of nothing between sea water and river water (in continuum pack), oil is not black enough (this one might be tricky due to me being not good at all of this stuff). I hope, someone would find this useful)


(Donzil Zenovka) #2

I’ve noticed that line between river and ocean without any shaders, almost like the two tiles are different heights. I meant to bring it up a while ago.


#3

I have fixed this line in RRe36, atleast. The difference in height is 0.015 in this formula

float wave = (waveStrength + (rainStrength*0.125)) * sin(3 * PI * (frameTimeCounter*0.75 + worldpos.x /  7.0 + worldpos.z / 13.0)) 
+ waveStrength * sin(2 * PI * (frameTimeCounter*0.6 + worldpos.x / 11.0 + worldpos.z /  5.0)) + 0.015;

(Gregorius Techneticies) #4

Yeah I hate that line too, Forge messed that up with its Fluid System, none of the Modded Fluids have the same height as Water.