This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15137 - Add additional texture control parameters
Summary: Add additional texture control parameters
Alias: None
Product: CSS
Classification: Unclassified
Component: Filter Effects (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dean Jackson
QA Contact: This bug has no owner yet - up for the taking
Depends on:
Reported: 2011-12-10 16:47 UTC by Vincent Hardy
Modified: 2014-11-03 21:19 UTC (History)
4 users (show)

See Also:


Description Vincent Hardy 2011-12-10 16:47:28 UTC
Feedback from Evan Wallace:

It’s too bad that you can’t control texture parameters. Wrap modes don’t make much sense with textures from DOM elements but would allow for tiled background textures. While wrapping can be implemented manually via texture2D(u_texture, fract(v_texCoord)), it would be nice to have. It would also be nice to have control over texture filtering, or at least be able to give hints to the browser (mipmapping/anisotropy). There may be some scenarios where you would want nearest neighbor magnification sampling instead of linear, for example. Nearest neighbor filtering could also be implemented manually using texture2D(u_texture, floor(v_texCoord * u_textureSize) / u_textureSize) so it’s not a limitation, just an inconvenience.
Comment 1 Dirk Schulze 2014-11-03 21:19:12 UTC
We removed shaders. Closing bug now.