- June 2, 2015 at 1:06 pm #48926
the PFX specification now states an EFFECT can have ANNOTATION elements for user-defined strings. We are actively using these for specifying additional input to the renderer. However, both PVRShaderEditor and PVRShaman reject this.
I have attached a simply PFX to demonstrate this.
Trying to compile this in PVRShaderEditor 2.6 (SDK build 3.5@3523712) gives the error
Error while parsing PFX:
Unknown keyword ‘ANNOTATION’ in [EFFECT] on line 32
Attempting to assign this effect in PVRShaman 2.3 (SDK build 3.3531700) gives the error
The selected effect file contains no effects!
Please select another file.
with the same error appearing in the log as in PVRShaderEditor.
If I remove the ANNOTATION field everything works fine.
I guess someone didn’t tell the PFX parser there is a new keyword. Right now we have to manually remove the ANNOTATION fields, assign the materials in Shaman and put them back in.
Attachments:You must be logged in to view attached files.June 3, 2015 at 12:49 pm #48933
ANNOTATION should be a sub-block within the EFFECT block.
I’ve looked at the documentation and there’s an unfortunate pagebreak above the table describing ANNOTATION, so I can see how it could be misleading.
I will forward this as feedback for our documentation lead.