|
From: Erik H. <er...@eh...> - 2001-08-25 09:13:57
|
"Curtis L. Olson" wrote: > > Erik Hofman writes: > > > What annoying white lines? GL_MODULATE allows you to light/shade a > > By white lines i mean the "gaps" between textures which pop up randomly. > > I don't think I'm seeing this at all on Linux or Windows. Can you > capture the effect in a screen shot? > > > > textured polygon. GL_DECAL completely overwrites any lighting > > > information. > > > > Yeah, i noticed. Flying at night isn't that realistic anymore. > > Could another way to do the same be something like this: > > > > Don't reflect the textures on a white surface, but instead use the color > > used then textures are off, and change the textures to get the same > > color again (e.g. multiplying by the difference between white and the > > color used)? > > As far as I know GL_MODULATE is *the* only way to combine texture with > lighting effects. You might be able to get what you suggest to do something, > but I think that the underlying polygon color defines the maximum RGB > value that a pixel will be in the end ... the texture when > GL_MODULATE'd will only reduce the original RGB values ... Darn. > > It sounds like you may have a bug in your opengl implimentation???? SGI Irix -> Bug in OpenGL ??? Neh ;-) Erik |