Seed based rng tree generation.
Removed Chasing PNG
This commit is contained in:
2
main.c
2
main.c
@@ -178,7 +178,7 @@ int main(void)
|
|||||||
|
|
||||||
Shader shAlphaClip = LoadShaderFromMemory(NULL, ALPHA_CLIP_FS);
|
Shader shAlphaClip = LoadShaderFromMemory(NULL, ALPHA_CLIP_FS);
|
||||||
int locCutoff = GetShaderLocation(shAlphaClip, "u_alphaCutoff");
|
int locCutoff = GetShaderLocation(shAlphaClip, "u_alphaCutoff");
|
||||||
float cutoff = 0.3f; // tweak to taste; 0.3–0.5 works well for tree PNGs
|
float cutoff = 0.3f; // tweak to taste; 0.3 - 0.5 works well for tree PNGs
|
||||||
SetShaderValue(shAlphaClip, locCutoff, &cutoff, SHADER_UNIFORM_FLOAT);
|
SetShaderValue(shAlphaClip, locCutoff, &cutoff, SHADER_UNIFORM_FLOAT);
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user