[Feature]: Enhance text embossing with grayscale height mapping #13
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
Currently, the text rendering in
gh-skyline
uses a binary threshold for pixel values when creating the 3D text geometry. This results in a "hard" embossing effect where pixels are either fully raised or not at all. We can improve the visual quality by using the pixel's grayscale/whiteness value to determine the embossing height, which would preserve font anti-aliasing in the 3D output.Requirements
isPixelActive()
to return a float value representing pixel intensity instead of booleanDefinition of Done
Additional Notes
The text was updated successfully, but these errors were encountered: