Compilation error occurs in the Lazy mode sample of GreasedLine

I tried the Lazy mode sample linked from the documentation below.

Lazy mode sample

However, the following shader error occurred and I could not try it.

Offending line [254] in vertex code: grlFinalPosition.xy += grlNormal.xy * grlSide;
Error: VERTEX SHADER ERROR: 0:254: ‘grlResolution’ : undeclared identifier
ERROR: 0:254: ‘constructor’ : not enough data provided for construction

cc @roland

PR is here GRL - resolution added by RolandCsibrei · Pull Request #14031 · BabylonJS/Babylon.js · GitHub thanks @roland

2 Likes

Thank you for your correction. I have verified that the demo works.

image

3 Likes