fog coordinates

Posts: 21
Joined: 2004.11
Post: #1
I'm going trough the Heightmap tutorial on
, and I'm having problems with the fog coordinates.

I have defined them in my hedaer file:
#define GL_FOG_COORDINATE_SOURCE_EXT            0x8450
#define GL_FOG_COORDINATE_EXT                    0x8451

but when i use it in my implementation file it doesnt show up


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 );
Quote this message in a reply
Posts: 869
Joined: 2003.01
Post: #2
Dont #define them in your header, #include <OpenGL/glext.h> instead.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  openal coordinates vs. opengl coordinates gerald 1 8,196 Feb 3, 2011 10:04 PM
Last Post: OneSadCookie