Specular Highlight (Bitmap)
Archives Forums/Blitz3D SDK Programming/Specular Highlight (Bitmap)
| ||
I remember when working on N64 games it was possible to add a specular highlight to an object in the form of a bitmap image (usually just a white blob). Presumably the u\v coords were updated by the hardware like with environment mapping (perhaps it's the same thing)? In B3D you can set shinyness for s similar effect but it's fairly crude as it uses vertices. Is there anyway to do with with a texture layer? |
| ||
Fredborg did a sort of hack way of accomplishing it here: http://www.blitzbasic.com/en/codearcs/codearcs.php?code=1928 I have used it and it does give good results, the only thing is you usually have to double up on the pollys. |
| ||
Cheers, I have a look. |
| ||
Solved this. Just add a second texture with the cubic environment mapping flag (128) and set its blend mode to ADD (3). Looks perfect. |
| ||
What sort of texture do you have as your specular John? It it just the "white dot" method or are you doing something else? |
| ||
Well it's a cube map but yes, white dots to represent lights work well. In theory you could do a lot more (Ste's working on that now). |