[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] OES_texture_float_linear and OES_texture_half_float_linear extension proposals

Mark, I understand your concern about promoting desktop-only extensions.

When writing the WebGL conformance test for OES_texture_float I
neglected to test and forbid the use of linear filtering, so existing
applications are already using linear filtering on FP textures. As
Florian points out, certain advanced rendering techniques such as
Variance Shadow Maps require it. Also, exposing only
OES_texture_half_float_linear and not OES_texture_float_linear would
be quite asymmetric. I would like to continue to enable in WebGL the
rendering techniques that FP textures + linear filtering have enabled.
The same applications can target half-float textures and
OES_texture_half_float_linear with little code change if they want to
target mobile hardware and can tolerate a loss of precision.
Alternatively, they could implement filtering manually in their shader
if they knew OES_texture_float_linear was not available.

Can you be convinced to drop your objection?

Mozilla, Apple, Opera, could you please provide your input? Others?


On Thu, Feb 21, 2013 at 3:13 AM, Florian Bösch <pyalot@gmail.com> wrote:
> On Thu, Feb 21, 2013 at 12:07 PM, Mark Callow <callow.mark@artspark.co.jp>
> wrote:
>> The above statement makes no sense. Neither OES_texture_float nore
>> OES_texture_half_float support linear filtering. Therefore, in the absence
>> of the newly proposed extensions you do not have linear filtering. There is
>> nothing to figure out.
> We are already using linear filtering in limbo because we do not have these
> extensions. Adding OES_texture_half_float_linear but not
> OES_texture_float_linear makes no sense. Removing linear filtering will
> break a lot of peoples code. Not adding it will have the following effect:
> It is inconsistent of its treatment of the already supported texture formats
> It will force low-quality floating point textures on platforms perfectly
> able to use higher quality.
> It will break peoples code

You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl