Skip to content

Commit dc12ade

Browse files
author
eaglercraft
committed
u36
1 parent 3bb6cc6 commit dc12ade

57 files changed

Lines changed: 392 additions & 206 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
841 Bytes
Loading
860 Bytes
Loading
855 Bytes
Loading
1.06 KB
Loading
689 Bytes
Loading

desktopRuntime/resources/assets/eagler/glsl/deferred/deferred_core.vsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ uniform float u_blockConstant1f;
4646
#define DO_COMPILE_STATE_WAVING_BLOCKS
4747
#define FAKE_SIN(valueIn, valueOut)\
4848
valueOut = abs(1.0 - fract(valueIn * 0.159155) * 2.0);\
49-
valueOut = valueOut * valueOut * (3.0 - 2.0 * valueOut) * 2.0 - 1.0;
49+
valueOut = valueOut * valueOut * (6.0 - 4.0 * valueOut) - 1.0;
5050
#define LIB_INCLUDE_WAVING_BLOCKS_FUNCTION
5151
#endif
5252

desktopRuntime/resources/assets/eagler/glsl/deferred/deferred_shadow.vsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ uniform vec4 u_wavingBlockParam4f;
5353
#define DO_COMPILE_STATE_WAVING_BLOCKS
5454
#define FAKE_SIN(valueIn, valueOut)\
5555
valueOut = abs(1.0 - fract(valueIn * 0.159155) * 2.0);\
56-
valueOut = valueOut * valueOut * (3.0 - 2.0 * valueOut) * 2.0 - 1.0;
56+
valueOut = valueOut * valueOut * (6.0 - 4.0 * valueOut) - 1.0;
5757
#define LIB_INCLUDE_WAVING_BLOCKS_FUNCTION
5858
#endif
5959

desktopRuntime/resources/assets/eagler/glsl/deferred/post_lens_ghosts.vsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ uniform float u_baseScale1f;
3939

4040
#define FAKE_SIN(valueIn, valueOut)\
4141
valueOut = abs(1.0 - fract(valueIn * 0.159155) * 2.0);\
42-
valueOut = valueOut * valueOut * (3.0 - 2.0 * valueOut) * 2.0 - 1.0;
42+
valueOut = valueOut * valueOut * (6.0 - 4.0 * valueOut) - 1.0;
4343

4444
void main() {
4545
v_occlusion1f = max(textureLod(u_sunOcclusionValue, vec2(0.5, 0.5), 0.0).r * 1.5 - 0.5, 0.0);
180 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"pluginName":"EaglercraftXBungee","pluginVersion":"1.2.6","pluginButton":"Download \"EaglerXBungee-1.2.6.jar\"","pluginFilename":"EaglerXBungee.zip"}
1+
{"pluginName":"EaglercraftXBungee","pluginVersion":"1.2.7","pluginButton":"Download \"EaglerXBungee-1.2.7.jar\"","pluginFilename":"EaglerXBungee.zip"}

0 commit comments

Comments
 (0)