31
Support / Re: Disable Ambient Lighting for an Object
« on: September 21, 2007, 03:17:54 pm »
I hope it's just an option because for me it was usefull.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Driver is: idisw2km/2.50.4136.2000 on Intel Intel 915G
FBO not supported or disabled!
OpenGL renderer initialized (using 4 texture stages)
Config.glMipmap=false;
Current mode:1024 x 768 x 32 @75Hz
[ Wed Aug 08 08:09:55 CEST 2007 ] - WARNING: Number of samples (2) not supported
!
Driver is: idisw2km/2.50.4136.2000 on Intel Intel 915G
OpenGL renderer initialized (using 4 texture stages)
Current mode:1024 x 768 x 32 @70Hz
Driver is: ati2dvag/6.14.10.6542 on ATI Technologies Inc. RADEON X550 x86/MMX/3DNow!/SSE2
OpenGL renderer initialized (using 4 texture stages)
fb.clear(Color.BLACK); //normal rendering to the screen
MyScene.renderScene(fb);
MyScene.draw(fb);
fb.update();
display();
fb.setRenderTarget(texMan.getTexture("MyTexture")); // the same but switching to texture
fb.clear(Color.BLACK); //operations at the texture...
MyScene.renderScene(fb);
MyScene.draw(fb);
fb.update();
fb.removeRenderTarget(); //removing the texture target