Multitexturing theory with texture objects and samplers

前端 未结 2 1049
無奈伤痛
無奈伤痛 2020-12-06 22:39

I couldn\'t find any good theory articles on how to code multitexturing with either only texture objects or texture objects plus samplers. I just don\'t know how to manage t

2条回答
  •  一生所求
    2020-12-06 22:45

    There is a default sampler object contained in each texture object that will be used to read from the texture when no sampler object is bound to the corresponding sampler unit. To modify the parameters of this object, similar glTexParameter function are provided.

提交回复
热议问题