PDA

View Full Version : Help with rendering Shadow Volumes into stencil buffer



stimulate
05-01-2017, 05:28 AM
How do i properly access images provided by the EXT_shader_image_load_store (https://www.khronos.org/opengl/wiki/Image_Load_Store) extension? it says on the site they use signed integer coordinates, but what space are these coordinates in? is the origin in the top left or lower left corner or in the center?

GClements
05-01-2017, 11:44 AM
Although the index vector is signed, only non-negative values are valid. The origin is the same corner as for texture coordinates.