티스토리 뷰
What does gather actually indicate?
references are as follows
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_gather.txt
___________________________________________________________________
| |
| 1.0 +---+---+---+---+---+---+---+---+ |
| 7| | | | | | | | | |
| +---+---+---+---+---+---+---+---+ |
| 6| | | | | | X | Y | | |
| +---+---+---+---+---+---+---+---+ |
| 5| | | | | | W | Z | | |
| +---+---+---+---+---+---+---+---+ |
| 4| | | | | | | | | |
| +---+---+---+---+---+---+---+---+ |
| 3| | | | | | | | | |
| +---+---+---+---+---+---+---+---+ |
| 2| | | | | | | | | |
| +---+---+---+---+---+---+---+---+ |
| 1| | | | | | | | | |
| +---+---+---+---+---+---+---+---+ |
| 0| | | | | | | | | |
| 0.0 +---+---+---+---+---+---+---+---+ |
| 0 1 2 3 4 5 6 7 |
| 0.0 1.0 |
| |
| Figure 3.10a. An example of an 8x8 texture image and the |
| components returned for textureGather. The vector (X,Y,Z,W) |
| is returned, where each component is taken from the post- |
| swizzle R component of the corresponding texel. |
|_________________________________________________________________|
https://msdn.microsoft.com/ko-kr/library/windows/desktop/bb944003(v=vs.85).aspx.aspx)
+---+---+
| W | Z |
+---+---+
| X | Y |
+---+---+
Same value range Range [0.5-1.5), Range [1.5-2.5)
'Game > MMD' 카테고리의 다른 글
ID3D11Fence (0) | 2017.07.10 |
---|---|
How to check window 10 create update (0) | 2017.07.10 |
ModelViewer(2) Async texture loading (0) | 2017.07.08 |
ModelViewer (1) Draw (0) | 2017.07.05 |
MikuViewer (7) DPI (0) | 2017.07.04 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크