Shadow raycasting!
This update brings bunch of QoL patches, namely the use of normalized coordinates for positioning (so that when we scale the image, shapes drawn to the image adapt accordingly), new pad control for picking position and also a shadow raycaster!
Shadow raycaster currently offers 2 operations you can use to generate a shadow bitmap for your image:
Lamp
Generates a shadow bitmap in a respect to a specific position, also provides a way to specify shadow radius.
Sun
Generates a shadow bitmap in respect to a chosen direction with a specified shadow length.
Both operations also take the color threshold, which is used to identify light obstacles. Note that these operations do not generate any light, they are only responsible for baking the shadow bitmap.
The shadow bitmap can then be blended with original image, tweaked or used for other purposes.
Have a look at a few samples in attachments!
I plan to focus on gizmos for the next big update, which would be followed by some property pane redesign too!
Have a nice day!
Files
Get zpl.texed
zpl.texed
texed - Stack-based texture generation tool written in C99!
Status | Released |
Category | Tool |
Author | Dominik Madarász |
Tags | c99, Generator, Pixel Art, raylib, stack-based, zpl |
Languages | English |
More posts
- gizmos!May 31, 2021
- zpl.texed runs on mac m1 and linux distros!May 26, 2021
- zpl.texed is now available at itch.io!May 20, 2021
Leave a comment
Log in with itch.io to leave a comment.