Structures, texture changes

This commit is contained in:
paulevsGitch 2020-10-12 00:24:26 +03:00
parent bd9d71206f
commit 846b14cf7c
21 changed files with 262 additions and 22 deletions

View file

@ -0,0 +1,8 @@
#include frex:shaders/api/fragment.glsl
#include frex:shaders/lib/math.glsl
void frx_startFragment(inout frx_FragmentData fragData) {
float glow = frx_luminance(fragData.spriteColor.rgb) - 0.2;
glow = clamp(glow * 3, 0, 0.5);
fragData.emissivity = glow;
}