Also support texel fetch
This commit is contained in:
parent
fc6e5860e2
commit
dea8a7888a
1 changed files with 5 additions and 0 deletions
|
|
@ -35,3 +35,8 @@ ivec2 textureSize(int index, int lod)
|
|||
{
|
||||
return textureSize(textures[uTextureIndex + index], lod);
|
||||
}
|
||||
|
||||
vec4 texelFetch(int index, ivec2 P, int lod)
|
||||
{
|
||||
return texelFetch(textures[uTextureIndex + index], P, lod);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue