specular highlight on a road - can it be done?

Blitz3D Forums/Blitz3D Programming/specular highlight on a road - can it be done?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

fredborg - thanks very much for that code, it ALMOST works - screenie below -



BUT there are 2 problems -

1. it needs quite a lot of polys in the road for the specular shine to work smoothly

2. it requires a point light - this is my major problem - my gameworld is lit by a directional which reduces this effect to a very tight and faint specular shine, so tight in fact it looks like a flash of light as you pan the camera around. I've tried (in the screenie above) to use a pointlight and move it with the camera, but the hills receive odd secondary lighting from it as they pass by, and of course with a directional and a point light everything is lit strangely and twice as brightly in places where the point light affects things.

So annoying because it almost works.

Would you be able to give me an example of the reflection map version instead? I've no idea what sort of refmap would produce this specular effect.