vec3 (@dotproduct) 's Twitter Profile
vec3

@dotproduct

ID: 1442237505495977987

calendar_today26-09-2021 21:20:16

0 Tweet

2 Followers

6 Following

vec3 (@dotproduct) 's Twitter Profile Photo

I think this is very suitable as my first post here. vec3 lightDirection = normalize(lightPosition - FragmentPosition); float diffuse = max(dot(norm, lightDirection), 0.0);