heightmap example
This commit is contained in:
parent
ad8d4f06d1
commit
2335c5275f
3 changed files with 77 additions and 85 deletions
3
test.py
3
test.py
|
@ -8,9 +8,6 @@ SetTargetFPS(60)
|
|||
|
||||
camera = ffi.new("struct Camera3D *", [[ 18.0, 16.0, 18.0 ], [ 0.0, 0.0, 0.0 ], [ 0.0, 1.0, 0.0 ], 45.0, 0 ])
|
||||
|
||||
# (( 18.0, 16.0, 18.0 ), ( 0.0, 0.0, 0.0 ), ( 0.0, 1.0, 0.0 ), 45.0, 0 )
|
||||
|
||||
|
||||
|
||||
image = LoadImage(b"resources/heightmap.png") # Load heightmap image (RAM)
|
||||
texture = LoadTextureFromImage(image) # Convert image to texture (VRAM)
|
||||
|
|
Reference in a new issue