jtmzheng / 3dss

2 stars 0 forks source link

Framebuffers #23

Closed jtmzheng closed 10 years ago

jtmzheng commented 10 years ago

This will be a major but necessary enhancement (allows for post-processing, shadow-mapping, etc). This is probably what I will be working on next.

(MORE INFO LATER)

jtmzheng commented 10 years ago

I think for the most part this is stable. There is one hack I had to put in where I had to change the viewport to

x = -width y = -height width = width * 2 height = height * 2

when rendering the frame buffer's texture. I haven't found any reasoning behind why I need to do this.