Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Pst. Clamp specular between 0 and 1 to stop black spots from showing up on lights that are very close to the surface. 

`SPECULAR_LIGHT += clamp(vec3(pow(light, 50.0)) * specular, 0, 1);`