Structures, texture changes
This commit is contained in:
parent
bd9d71206f
commit
846b14cf7c
21 changed files with 262 additions and 22 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue