EllipsoidSurfaceAppearance's fragmentShaderSource not work with GroundPrimitive

EllipsoidSurfaceAppearance’s fragmentShaderSource not work with GroundPrimitive

the example is below

I know the fragmentShaderSource in the example is not right
my question is
the EllipsoidSurfaceAppearance’s fragmentShaderSource even not be executed by computer.

Hi @zxc1987,

Thank you for sharing this with the community! I was able to successfully run your sandcastle demo. Can you please share some more information on your intended use case? I am still not quite sure what is broken here.

image

I am looking forward to learning more.

Best,
Sam

Hi @sam.rothstein
You can see my Sandcastle code in line 51


I give a blue color (not red color) in custom fragmentShaderSource
the problem is the fragmentShaderSource don’t work
i know the fragmentShaderSource code is not right in cesium.
but the problem is the cesium don’t even execute the fragmentShaderSource code.

Hi @zxc1987,

I am not sure if I fully understand the context here. I may have to take some time to get up to speed with how we handle shaders in CesiumJS. In the meantime, if you think this is a bug that needs to be addressed, I recommend opening up an issue on our GitHub page.

Best,
Sam