Skip to content

Jax-Danger/raylib-shadows-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raylib-shadows-example

Example for Raylib for using shadows in 3D. Comes with a Sun light and a spotlight with adjustable cone shapes.

This example uses code from the raylib shaders example to create lighting with shadows on 3d objects.

get started

  • download and extract
  • type make to build if you make changes, and ./shadow to run the game.

If you're on NixOS, make sure you have a nix-shell then use make and ./shadow if you made changes.

screenshot

image

AI NOTICE

Understand that I'm not a pro at Raylib, and yes I did use Claude AI to assist me in writing this code. The code was mostly created by me with help from raylib examples. Any time I got stuck, I asked AI. Code was copied by hand, not copied and pasted without going through it.

About

Example for Raylib in CPP for shadows in 3D. Comes with a Sun light and a spotlight with adjustable cone shapes.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors