Revision 2ed1c692
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
---|---|---|
26 | 26 |
* Class which represents a OpenGL Framebuffer object. |
27 | 27 |
* <p> |
28 | 28 |
* User is able to create offscreen FBOs and both a) render to them b) use their COLOR0 attachment as |
29 |
* an input texture. |
|
29 |
* an input texture. Attaching Depths and/or Stencils is also possible.
|
|
30 | 30 |
*/ |
31 | 31 |
public class DistortedFramebuffer extends DistortedOutputSurface implements DistortedInputSurface |
32 | 32 |
{ |
Also available in: Unified diff
1) stop culling back face
2) reset OpenGL state beore each render (and not in onCreate)
3) Improve Matrix3D so that we can test negative Scales