2 years ago

3d lighting gimmick (read article for info)

https://scratch.mit.edu/projects/777768738/


this is basically meant to emulate sprite 3d objects having different sides- also the sky is misleading the only source of light is at 0,0,0

basically it takes the direction towards the player and the light and finds the difference between them, then takes a percentage from that and uses it to change the brightness based on how far off you are directionally from the light

as i said it's meant to try and simulate seeing a different side that is not exposed to light, which would obviously darken the sprite, unfortunately there are no gradients i can use, and also it's sprite 3d, so it may look weird, but it's functional

i hope this is useful at all



2 comments

Loading...

Next up

wow I've already abandoned my 3d engine and made a Minecraft clone and abandoned that and then started on a 3rd engine

kitty bro

my spanish skills are not competent enough to understand what the guy is saying at 2x speed

another random ass 3d engine that nobody asked for and nobody will end up using

guys! what should i add here

i'm really struggling to add something else here

meow mow mow

.

Evolution of Benjiro's Vector since I started working on it honestly I'm super content with his current look and I don't think I'm even gonna change it any further

shakespear