filmov
tv
2D pixel art with dynamic light
![preview_player](https://i.ytimg.com/vi/rHsB8C9XW9M/sddefault.jpg)
Показать описание
Small example of a scene with dynamic lighting.
Light follows the mouse-mointer (x,y-direction through movement, z through mouse-wheel)
Shading uses per-sprite normalmaps.
The normal maps for the background elements and the witch (the red character) are handmade.
The normal maps for the other characters are generated using a random online-normal-map-generator. Unfortunately the result is not actually usable.
The normal map for the witch needs to be refined and animated, as it is currently using the same normal-map for all animation frames.
pyopengl with pygame for window and user-IO
Light follows the mouse-mointer (x,y-direction through movement, z through mouse-wheel)
Shading uses per-sprite normalmaps.
The normal maps for the background elements and the witch (the red character) are handmade.
The normal maps for the other characters are generated using a random online-normal-map-generator. Unfortunately the result is not actually usable.
The normal map for the witch needs to be refined and animated, as it is currently using the same normal-map for all animation frames.
pyopengl with pygame for window and user-IO