What is the change of shader in 3.1?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hsjaaa

I tried some water shader and material which works in 3.0, but not work in 3.1, I can see the expected effect in preview but after run the game the effect is not same. What have changed?

Did you find the water shader on the asset library?

Zylann | 2019-03-22 13:45

find it on a repo

hsjaaa | 2019-03-22 13:54

I don’t see any shader in this repo, just a usual SpatialMaterial with preset options. I’d have to check opening the project. What do you mean it doesn’t work? Which renderer are you using? GLES2 or GLES3?

Zylann | 2019-03-22 19:09

GLES3, the shader I found is in another repo, the shader may not work due to the shader change in 3.1, but the the preview is different from runtime view.

hsjaaa | 2019-03-23 01:20