pnext / three-loader

Point cloud loader for ThreeJS, based on the core parts of Potree
Other
210 stars 90 forks source link

Define MAX_POINT_LIGHTS and MAX_DIR_LIGHTS #40

Closed rhuitl closed 5 years ago

rhuitl commented 5 years ago

Otherwise IE11 fails to compile the shader with "syntax error, unexpected IDENT_TOK".

This has been introduced by my changes for https://github.com/pnext/three-loader/pull/38.

This solution is not pretty, but the related code in the shader is dead anyways - required uniforms are not in the material (yet?).

hccampos commented 5 years ago

@rhuitl released in v0.1.1