New examples from @chriscamacho (#23)

* complete fog example
as both fog and basic lighting need the light system it made sense
to seperate it out, there are a few functions from raymath
int rlmath.py

* added shaders custom uniform

* added shaders_texture_waves.py

* added shaders_texture_drawing.py

* bug fix - unwanted transparent effect!

* complete fog example
as both fog and basic lighting need the light system it made sense
to seperate it out, there are a few functions from raymath
int rlmath.py

* added shaders custom uniform

* added shaders_texture_waves.py

* initial commit still WIP

* updated raylib

* undo all changes in this branch except for the example updates

* remove local raylib-c

Co-authored-by: codifies <nospam@antispam.com>
This commit is contained in:
Richard Smith 2020-11-15 20:07:05 +00:00 committed by GitHub
parent 16aec6a0e3
commit 8824449bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 120 additions and 912 deletions

View file

@ -37,7 +37,7 @@ rl.SetShaderValue(
texHDR = rl.LoadTexture(b'resources/dresden_square.hdr')
skybox.materials[0].maps[rl.MAP_CUBEMAP].texture = rl.GenTextureCubemap(shdrCubemap, texHDR, 512);
skybox.materials[0].maps[rl.MAP_CUBEMAP].texture = rl.GenTextureCubemap(shdrCubemap, texHDR, 512, rl.UNCOMPRESSED_R32G32B32);
rl.UnloadTexture(texHDR)
rl.UnloadShader(shdrCubemap)