Working on drawing sun and sun halo.
This commit is contained in:
parent
02732b23f8
commit
359b9507b1
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ void fgRenderFrame( void ) {
|
|||
}
|
||||
|
||||
// draw the sun
|
||||
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
|
||||
xglTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE ) ;
|
||||
current_sun.repaint( cur_light_params.sun_angle );
|
||||
sgVec3 view_pos;
|
||||
sgSetVec3( view_pos,
|
||||
|
|
Loading…
Add table
Reference in a new issue