Skip to content

Commit 7d36c83

Browse files
committedSep 17, 2024·
Some variants for rain particle shaders for Constance to mess with
1 parent 334bf58 commit 7d36c83

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
 

‎Data/GLSL/envobject.vert

+20
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,26 @@ void main() {
581581
//max_dist *= 0.25;
582582
int type = instance_id % 83;
583583

584+
#if defined(HEAVEN_MIASMA)
585+
size *= 80.0;
586+
587+
if(type > 0){
588+
size = 0.0;
589+
}
590+
#elif defined(MED)
591+
size *= 1.25;
592+
593+
if(type > 7){
594+
size = 0.0;
595+
}
596+
#elif defined(LOW)
597+
size *= 1.25;
598+
599+
if(type > 2){
600+
size = 0.0;
601+
}
602+
#endif
603+
584604
#elif defined(SNOW)
585605

586606
speed = 0.1;

0 commit comments

Comments
 (0)
Please sign in to comment.