[x3d-public] UnlitMaterial
Holger Seelig
holger.seelig at yahoo.de
Fri Feb 21 05:05:40 PST 2025
Additionally added PhysicalMaterial boxes for comparison.
Best regards,
Holger
--
Holger Seelig
Leipzig, Germany
holger.seelig at yahoo.de
https://create3000.github.io/x_ite/
> Am 21.02.2025 um 14:02 schrieb Andreas Plesch <andreasplesch at gmail.com>:
>
> Thanks, Holger. x3dom currently does not have UnlitMaterial.
>
> Andreas
>
> On Fri, Feb 21, 2025, 7:42 AM Holger Seelig <holger.seelig at yahoo.de <mailto:holger.seelig at yahoo.de>> wrote:
>> There seems to be lot of differences across browsers:
>>
>> X_ITE
>> https://create3000.github.io/x_ite/playground/?url=https://create3000.github.io/Library/Tests/Components/Shape/CompareEmissive.x3d
>>
>> X3DOM
>> https://andreasplesch.github.io/Library/Viewer/index.html?url=https://create3000.github.io/Library/Tests/Components/Shape/CompareEmissive.x3d
>>
>> Download URL for Castle and FreeWrl:
>> https://create3000.github.io/Library/Tests/Components/Shape/CompareEmissive.x3d
>>
>> Best regards,
>> Holger
>>
>> --
>> Holger Seelig
>> Leipzig, Germany
>>
>> holger.seelig at yahoo.de <mailto:holger.seelig at yahoo.de>
>> https://create3000.github.io/x_ite/
>>
>>> Am 20.02.2025 um 23:21 schrieb Andreas Plesch via x3d-public <x3d-public at web3d.org <mailto:x3d-public at web3d.org>>:
>>>
>>> Looking at UnlitMaterial:
>>>
>>> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/lighting.html#LightingUnlit
>>>
>>> Can UnlitMaterial be thought of as Material without light contributions ? Eg. on_i for all lights is 0 ?
>>>
>>> It looks equivalent but perhaps there is a subtle difference. Yeah, one subtle difference appears to be that the transparency field is applied to diffuse.a rather than emissive.a .
>>>
>>> Related, the Phong lighting in the case of on_i all zero, does not seem to have a way to specify an alpha for emissive ? Not sure how much use emissive alpha has but UnlitMaterial has it.
>>>
>>> Thanks for any input, -Andreas
>>>
>>> --
>>> Andreas Plesch
>>> Waltham, MA 02453
>>> _______________________________________________
>>> x3d-public mailing list
>>> x3d-public at web3d.org <mailto:x3d-public at web3d.org>
>>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250221/a899c6c1/attachment.html>
More information about the x3d-public
mailing list