[X3D-Public] Shader programming and URLs in X3D
michalis.kambi at gmail.com
Thu May 14 06:32:51 PDT 2009
Peter Eschler wrote:
> On Wed, May 13, 2009 at 8:56 PM, John A. Stewart <alex.stewart at crc.ca> wrote:
>> Hi All;
>> I'm verifying the Shader support code in FreeWRL, and I have a question.
>> The url field, can it contain the source, or does it always have to
>> designate a file? eg, with scripting, one can have a url starting with
> InstantPlayer supports both approaches.
> See the following example:
Ah, just without protocol. Thanks! Any documentation how exactly the
fact that we have direct shader source code is detected?
I just added this to view3dscene. URL is recognized as direct shader
source if it doesn't start with any protocol *and*
has some newlines (needed to recognize relative URLs without protocol
More information about the X3D-Public