You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shader generator will need to be changed and all current shaders will need to be rewritten. It will need to be possible for developers to provide shader chunks for both GLSL and WGSL at the same time for backwards compatibility.
The text was updated successfully, but these errors were encountered:
PlayCanvas is currently using glslang and twgsl to transpile GLSL into WGSL. This doesn't support all new features in WGSL which are not usable now.
Things like
@group(0) @binding(0) var externalTexture : texture_external;
for fast video texture support.@builtin(instance_index) instanceIdx : u32
for hardware instancing.The shader generator will need to be changed and all current shaders will need to be rewritten. It will need to be possible for developers to provide shader chunks for both GLSL and WGSL at the same time for backwards compatibility.
The text was updated successfully, but these errors were encountered: