mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Do not shift texture coordinates for frame buffer textures.
Fixed #2112 Conker black line following your shadow
This commit is contained in:
parent
93b33e485d
commit
9dff907f15
|
@ -280,8 +280,9 @@ public:
|
|||
" vec2 texCoordOut = texCoord*uCacheShiftScale[idx]; \n"
|
||||
" texCoordOut -= uTexOffset[idx]; \n"
|
||||
" texCoordOut += uCacheOffset[idx]; \n"
|
||||
" if (uTextureFilterMode != 0) texCoordOut += vec2(0.5); \n"
|
||||
" return texCoordOut* uCacheScale[idx]; \n"
|
||||
" if (uTextureFilterMode != 0 && uCacheFrameBuffer[idx] == 0)\n"
|
||||
" texCoordOut += vec2(0.5); \n"
|
||||
" return texCoordOut* uCacheScale[idx]; \n"
|
||||
"} \n"
|
||||
" \n"
|
||||
"void main() \n"
|
||||
|
|
Loading…
Reference in New Issue
Block a user