Changeset 2878 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 08/28/08 09:12:34 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2877 r2878 539 539 // this fbo basicly stores the scene information we get from standard rendering of a frame 540 540 // 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); 542 542 543 543 // the diffuse color buffer … … 871 871 872 872 glEnable(GL_MULTISAMPLE_ARB); 873 //glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB);874 875 873 fbo->Release(); 876 874 … … 890 888 891 889 glEnable(GL_MULTISAMPLE_ARB); 892 //glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB);893 894 890 fbo->Release(); 895 891 … … 912 908 case RenderState::DEFERRED: 913 909 914 // multisampling not working with deferred shading 915 //glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE_ARB); 910 // multisampling does not work with deferred shading 916 911 glDisable(GL_MULTISAMPLE_ARB); 917 912
Note: See TracChangeset
for help on using the changeset viewer.