Bernard Kwok
Bernard Kwok
Afaik, the uv can be computed along with the sampler lookup, and then a select should be done afterwards. The lookup and select shoudl mask each other, and avoid divergent...
```glsl void mx_image_color3($texSamplerSignature, int layer, float3 defaultval, float2 texcoord, int uaddressmode, int vaddressmode, int filtertype, int framerange, int frameoffset, int frameendaction, float2 uv_scale, float2 uv_offset, thread float3& result) { float2...
Hi @ld-kerley, Thanks for following up. As we don't put in conditional branches (and especially not texture fetches within a branch) the number of ALU instructions added for the test...
Now that the Slang generator is exposed in Python and Javascript [with this check-in](https://github.com/AcademySoftwareFoundation/MaterialX/commit/ef1d56c9470e42f6abcc338875bd083e6d687ff0), at least we can run validation tests using `generateShader.py`. I think we could download a release...
Noticed that the Slang releases don't have RHI included this would make easier for CI as opposed to having to build it.
Hi @ld-kerley , What are your thoughts on integrations that don't use shader generation and hence won't ever see / use this optimization. It feels like this can be a...
The intent of these nodes is to make the MaterialX node an exact match glTF if possible. I'd strongly suggest we do not add any deviations, and discuss whether to...
A quick question is what is the best test for mapping (or is a new one required). eg. Would it be the [NormalTangentTest ](https://github.com/KhronosGroup/glTF-Sample-Models/blob/main/2.0/NormalTangentTest/README.md) ?
Hi @emackey - I think in the baked case, I'd like to see at least 1 test example which shows the mapping to glTF and from glTF working (and where...
It's mostly just some made up syntax I came up with. This could be a new entity like a `` with strict rules. I assume this is like a node...