testing OpenGL UV stuff...

Started by iWasAdam, January 16, 2018, 10:46:35

Previous topic - Next topic

iWasAdam

nah, I can calculate the normals no problem, but I think col was thinking about bumps and reflections - but I'm not sure.

In this case the best thing is to talk about the effect you want to see, and I'll think about how it could be achieved....

col

Adam is correct.
I was referring to light interacting with bumps in the surrounding textures. For eg, you have 'highlights' in the textures for the floor, door frame and the door itself - if you had the light bouncing off of those correctly then that would finish the effect.

I know that the lighting is done in 2d... however your code is set up is it not possible to use one of the older 2d bump mapping techniques?
https://github.com/davecamp

"When you observe the world through social media, you lose your faith in it."

iWasAdam

just been doing a bit of testing - to check how it was all working on windows and an old macbook.

Results Just in... Stable 60fps across all platforms including old Macbook!!!