Fix shaders

This commit is contained in:
Milan Nikolic 2021-05-26 13:09:06 +02:00
parent 400097df9d
commit 620d205532
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
8 changed files with 22317 additions and 54982 deletions

View file

@ -102,6 +102,8 @@ func main() {
rl.BeginTextureMode(target) // Enable drawing to texture
rl.ClearBackground(rl.RayWhite)
rl.BeginMode3D(camera)
rl.DrawModel(obj, position, 0.1, rl.White) // Draw 3d model with texture