Skip to content

Commit ff87595

Browse files
authored
edit common.glsl
1 parent 1493591 commit ff87595

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

shaders/lib/common.glsl

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,12 @@
150150
#define SPECIAL_PORTAL_EFFECTS
151151
#define REFLECTION_RES 0.5 //[1.0 0.5]
152152

153-
#define SUN_ANGLE -1 //[-1 0 -20 -30 -40 -50 -60 60 50 40 30 20]
153+
//TFGEDITS
154+
#ifdef AD_ASTRA
155+
#define SUN_ANGLE 0 //[-1 0 -20 -30 -40 -50 -60 60 50 40 30 20]
156+
#else
157+
#define SUN_ANGLE -1 //[-1 0 -20 -30 -40 -50 -60 60 50 40 30 20]
158+
#endif
154159

155160
#define SELECT_OUTLINE 1 //[0 1 3 4 2]
156161
//#define SELECT_OUTLINE_AUTO_HIDE
@@ -941,6 +946,17 @@
941946

942947
#include "/lib/materials/seasonsTime.glsl"
943948

949+
// TFGEDITS
950+
#ifdef AD_ASTRA
951+
// config for ad_astra worlds
952+
#include "/ad_astra_config/ad_astra_world_config.glsl"
953+
#endif
954+
955+
// config for non-ad_astra specific modifications
956+
#define PLANET_WIND_MULTIPLIER 1.0
957+
958+
#define DO_MORE_FOLIAGE_WAVING_TFG
959+
944960
const float OSIEBCA = 1.0 / 255.0; // One Step In Eight Bit Color Attachment
945961
/* materialMask steps
946962
0 to 240 - PBR Dependant:

0 commit comments

Comments
 (0)