3 years, 1 month ago
Highlights
@Juliean Wow. I could not notice the fact that I defined light as float. lol. I remember that I declared light as float3 definitely but it was not. It works well now. Thanks for…
3 years, 1 month ago
I implemented directional, point and spot light. But HLSL shader does not work as I expected. There is a problem in passing light color parameter to a function. 16-byte alignmen…
3 years, 1 month ago