Improve API

This commit is contained in:
schmelczerandras 2020-09-16 11:31:26 +02:00
parent b2c2cfcb41
commit 78444d8cc6
24 changed files with 193 additions and 325 deletions

View file

@ -7,8 +7,7 @@ precision lowp float;
#define AMBIENT_LIGHT vec3(0.25, 0.15, 0.25)
#define SHADOW_HARDNESS 150.0
#define CIRCLE_LIGHT_COUNT {circleLightCount}
#define FLASHLIGHT_COUNT {flashlightCount}
{macroDefinitions}
uniform bool softShadowsEnabled;
uniform vec2 squareToAspectRatioTimes2;