glTF icon indicating copy to clipboard operation
glTF copied to clipboard

normalTextureInfo.scale

Open scurest opened this issue 3 years ago • 1 comments

The properties reference for normalTextureInfo.scale has a busted formula

scaledNormal = normalize<sampled normal texture value> * 2.0 - 1.0) * vec3(<normal scale>, <normal scale>, 1.0

scurest avatar May 16 '22 16:05 scurest

FWIW, the contents in the schema looks correct, and the output of wetzel looks correct, but the final HTML is not:

AsciiDoc obscurity

This is probably related to "index terms", as explained https://docs.asciidoctor.org/asciidoc/latest/sections/user-index/ : The double-parentheses seem to break the output here even when they are inside the inline code block ...

(This seems to be the only place in the ADOC where we have a ((, though...)

javagl avatar May 16 '22 22:05 javagl