summaryrefslogtreecommitdiff
path: root/engine/light.glsl
AgeCommit message (Collapse)Author
2024-05-23feat(engine): add directional lightHampusM
2024-05-23refactor(engine): pass vertex data as struct to calc_point_lightHampusM
2024-05-23refactor(engine): seperate light properties in shaderHampusM
2024-05-23style(engine): fix whitespace in shadersHampusM
2024-05-22feat(engine): add support for multiple point lightsHampusM
2024-05-22refactor(engine): make shader functions not use uniforms directlyHampusM
2024-05-22feat(engine): add point light attenuationHampusM
2024-05-22refactor(engine): remove ambient color from shader Light structHampusM
2024-04-24feat(engine): add colors to materialsHampusM
2023-11-27feat(engine): add lighting mapsHampusM
2023-11-23chore(engine): add include guard to light.glslHampusM
2023-11-20feat(engine): add materialsHampusM
2023-11-12feat(engine): add basic flat lightingHampusM