You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only problem I see with this, is that we'll have to use the slower glCopyImageSubData instead of glCopyTexSubImage2D. Though we can probably limit that just to the types that require it, and avoid any functional changes.
" RwRasterRenderFast(), performs a faster blit operation, but takes no
account of the alpha channel. This makes it considerably faster on most
platforms. "
This also causes me a bit of concern, as I know direct way to do this kind of operation in GL without taking into account alpha. So feedback welcome on that bit. :)
Found this while working with render targets (
rwRASTERTYPECAMERATEXTURE
); it currently only supports copying fromrwRASTERTYPECAMERA
.It appears that it should support all available raster types based on:
https://github.com/GTAmodding/rw37/blob/master/src/driver/d3d8/d3d8raster.c#L1469
https://github.com/GTAmodding/rw37/blob/master/src/driver/d3d9/d3d9raster.c#L1591
The only problem I see with this, is that we'll have to use the slower
glCopyImageSubData
instead ofglCopyTexSubImage2D
. Though we can probably limit that just to the types that require it, and avoid any functional changes.For reference:
librw/src/gl/gl3device.cpp
Line 1422 in 8b2caf8
The text was updated successfully, but these errors were encountered: