disabling texture filtering can be useful to better see errors

Started by RemiD, January 16, 2021, 09:32:53

Previous topic - Next topic

RemiD

here i am trying to color each grass (textured quad) with the same "grey color" than the the "grey color" of the colormap (which is blended on top of the diffuse texture)



with bilinear filtering of textures, i noticed that something was wrong but not clearly
but without bilinear filtering of textures, the wrongness is clear !

now i have to find the error in the code ???

;D

RemiD

debugging using colors 8)

with bilinear filtering :


without bilinear filtering :


;D