Open hecrj opened 5 years ago
We probably need to be able to set texture filtering on a per Image
or Canvas
basis.
The issue with allowing it per texture is that we will need to somehow store the different texture samplers and bind them accordingly to the render pipeline depending on the texture setting. It should be doable, but I don't think this is a good first issue anymore.
Currently, Coffee does only nearest neighbor interpolation.
We should probably allow to change this somehow. Is texture filtering normally a parameter that stays constant for a particular game? Could it be a simple configuration field on initialization?