fog coordinates
I'm going trough the Heightmap tutorial on gametutorials.com
, and I'm having problems with the fog coordinates.
I have defined them in my hedaer file:
but when i use it in my implementation file it doesnt show up
glFogi(GL_FOG_COORDINATE_SOURCE_EXT, GL_FOG_COORDINATE_EXT);
I've tried to comment the line, if i do i get fog everywhere.
(i also have scaled down the heightmap width this)
glScalef( 0.15f, 0.15f * HEIGHT_RATIO, 0.15f );
, and I'm having problems with the fog coordinates.
I have defined them in my hedaer file:
Code:
#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
#define GL_FOG_COORDINATE_EXT 0x8451but when i use it in my implementation file it doesnt show up
glFogi(GL_FOG_COORDINATE_SOURCE_EXT, GL_FOG_COORDINATE_EXT);
I've tried to comment the line, if i do i get fog everywhere.
(i also have scaled down the heightmap width this)
glScalef( 0.15f, 0.15f * HEIGHT_RATIO, 0.15f );
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| openal coordinates vs. opengl coordinates | gerald | 1 | 5,419 |
Feb 3, 2011 10:04 PM Last Post: OneSadCookie |
|

