castle-engine / demo-models

Demo 3D models (mostly in X3D and VRML formats) of view3dscene and Castle Game Engine
https://castle-engine.io/demo_models.php
17 stars 12 forks source link

geometry_shader.x3dv GLSL problem on Intel(R) HD Graphics 4400 #4

Open michaliskambi opened 6 years ago

michaliskambi commented 6 years ago

Reported originally in #3 by @andreasplesch .

Reproducible on

Version string: 4.3.0 - Build 20...
Renderer: Intel(R) HD Graphics 4400

(the exact GPU details in #3). Not reproducible with other GPU like Michalis NVidia:

Version string: 4.5.0 NVIDIA 384.98
Renderer: GeForce GTS 450/PCIe/SSE2

The error:

view3dscene: VRML/X3D warning: Cannot use GLSL shader for shape "Sphere": Geometry shader not compiled: ERROR: 0:30: '[' : layout must be declared before indexing unsized varying input array with a variable ERROR: 0:31: '[' : layout must be declared before indexing unsized varying input array with a variable ERROR: 0:33: '[' : layout must be declared before indexing unsized varying input array with a variable ERROR: 0:52: '[' : layout must be declared before indexing unsized varying input array with a variable ERROR: 0:53: '[' : layout must be declared before indexing unsized varying input array with a variable ERROR: 0:55: '[' : layout must be declared before indexing unsized varying input array with a variable