shader float precision settings

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Martin Eigel
:warning: Old Version Published before Godot 3 was released.

I am experiencing this GLSL noise on Android problem. This probably is due to low float precision. Can one set this anyhow (to highp)? Have not seen it in the project settings.

:bust_in_silhouette: Reply From: ArdaE

In Godot 3.0, you can specify the precision of floating point values via highp, mediump, and lowp. They’re documented here: Shading language — Godot Engine (3.0) documentation in English

I think what OP wants is to adjust the shader precision of built-in shaders, not custom shaders.

Calinou | 2018-08-07 11:40

If that’s the case, the built-in shaders can also be adjusted by first converting them via the “Convert to ShaderMaterial” menu. They lose their original form, hence ease of use, but highp, etc. can be inserted that way where needed. In any case, the link the OP provided hasn’t been working for me, so I’m going by what’s in his question text. He seems to have left the discussion anyway.

ArdaE | 2018-09-22 16:04