Sunday 25 June 2017

832 well its still not too bad,

Got the chapter about light in place now and the shaders for vertex and fragment lighting so thats pretty good. a bit more chopping done but no content really lost, I just noticed I was repeating myself a lot

here's the results of the vertex lighting shaders. 1st Screen shows the left model with no light, and right with light.




2nd image has both lit and you can see the lack of light on the belly of the upper ship.


Wasn't at all hard to do, but a bugger to explain simply and maintain a render system that could draw with or without light, thats not normally something I would do, but not to worry it works.



No comments:

Post a Comment