Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Effect Framework

192 bytes added, 04:53, 1 September 2019
syntax for xml
To apply an effect to a model or part of a model use:
<syntaxhighlight lang="xml">
where <inherits-from> </inherits-from> contains the path to the effect you want to apply.
Chrome, although now implemented as an effect, still retains the old method of application:
<syntaxhighlight lang="xml">
in order to maintain backward compatibility.
the 'generate' clause is present in the effect file. Exemple :
<syntaxhighlight lang="xml">
<tangent type="int">6</tangent>
<normal type="int">8</normal>
Valid subnodes of 'generate' are 'tangent', 'binormal' or 'normal'.
be bound to an attribute in the program clause, like this :
<syntaxhighlight lang="xml">
attribute names are whatever the shader use. The index is the one

Navigation menu