this post was submitted on 26 Aug 2023
275 points (97.3% liked)

Programmer Humor

19623 readers
96 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Done, that wasn't the hard part - after that I spent a few days on normal mapping and passable light reflections

[–] dylanTheDeveloper@lemmy.world 2 points 1 year ago (2 children)

What kind of method you gonna use for reflections?

[–] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

For reflected objects none, that's too much effort - this thing only reflects light sources.

Proper reflections require either too much effort, or me being smarter than I actually am.

(Reflecting light sources is as easy as doing some tangent-space wizardry and a few dot products)

[–] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago) (1 children)