realtime lighting with bump maps?

2

Mrlegoboy 2025-08-26 04:20

do you think it possible?

render.nx | Open in app
2025-08-26 04:20

SP4CEBAR 2025-08-26 11:00

If the bumps are either zero or one then you could perhaps offset a copy of your bumpmap to turn each bump into a streak (shadow)


nathanielbabiak 2025-08-27 07:05

Dynamically placed lighting for bump maps - yes.
Real time animation... I'd think around 4-6 FPS is possible.
I don't think that's the actual issue though...

This system doesn't have many shades of color, doesn't have many colors at all. How would you actually display shading?

A few options I see, none ideal:

• Use two versions of the generated image, with one-color-off for select pixels, and flip. Wouldn't happen with live animation, but you'd see 30 fps (2x) and the console renders with a 1-frame pixel fade, so it'd work... kinda?
• Use a 2x2 pixel grid to enable dither.
• Plot the available colors in a HSL arrangement and figure out what's actually close enough that you could use it.


nathanielbabiak 2025-08-27 07:11 (Edited)

My last option, plotting available colors, was done here:

https://lowresnx.inutilis.com/topic.php?id=606&post_id=3720#:~:text=i%20could'nt%20find%20my%20previous%20post%20on%20lrnx%20colors%20so%20i%20repost%20it


Log in to reply.