Ignore:
Timestamp:
08/28/08 09:12:34 (16 years ago)
Author:
mattausch
Message:

for some reasons very slow even in small streets on my home computer!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r2877 r2878  
    539539        // this fbo basicly stores the scene information we get from standard rendering of a frame 
    540540        // we store colors, normals, positions (for the ssao) 
    541         fbo = new FrameBufferObject(texWidth, texHeight, FrameBufferObject::DEPTH_32); 
     541        fbo = new FrameBufferObject(texWidth, texHeight, FrameBufferObject::DEPTH_24); 
    542542 
    543543        // the diffuse color buffer 
     
    871871         
    872872                glEnable(GL_MULTISAMPLE_ARB); 
    873                 //glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB); 
    874  
    875873                fbo->Release(); 
    876874 
     
    890888 
    891889                glEnable(GL_MULTISAMPLE_ARB); 
    892                 //glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB); 
    893  
    894890                fbo->Release(); 
    895891 
     
    912908        case RenderState::DEFERRED: 
    913909 
    914                 // multisampling not working with deferred shading 
    915                 //glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB); 
     910                // multisampling does not work with deferred shading 
    916911                glDisable(GL_MULTISAMPLE_ARB); 
    917912 
Note: See TracChangeset for help on using the changeset viewer.