[x3d-public] X3DOM embedded shaders...no CDATA section tags.
John Carlson
yottzumm at gmail.com
Thu May 24 17:54:20 PDT 2018
I see the X3DOM example of shaders https://paulmasson.github.io/x3dom-docs/tutorials/lighting/customShader/example.html , with embedded shaders, and there’s no CDATA section, just text nodes. X_ITE works with CDATA sections. Say I’m producing DOM or XML that goes to both X3DOM and X_ITE, do I need special handling for each browser, or can I rely on a single standard that works across all browsers?
Do I need to create Text nodes for shaders with X3DOM, and CDATA sections for X_ITE?
What does X3dToJson.xslt do when it sees a Text node as opposed to a CDATA section? Is #sourceText created in both cases?
Is CDATA the official standard for Shaders?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180524/b812cc04/attachment-0001.html>
More information about the x3d-public
mailing list