Alex
Alex
@joined72: Can you also see this error? ``` 01-19 16:08:06.236: E/godot(13166): USER ERROR: CanvasShaderGLES3: Fragment shader compilation failed: 01-19 16:08:06.236: E/godot(13166): Fragment shader compilation failed. 01-19 16:08:06.236: E/godot(13166): ERROR: 0:400:...
@joined72: [ShaderTest.zip](https://github.com/godotengine/godot/files/13999807/ShaderTest.zip) After 3 seconds, a `uniform` shader is attached to some 2D nodes. And a 3D scene is loaded after 6 seconds.  ------------------------- > * `return nd *...
@joined72: [android_release-2024-01-22.apk](https://drive.google.com/file/d/1BygHSKHDxkzUwR1H2ROzZ2z13i9nONgn/view?usp=sharing) (42 MB) Can you see the 3D scene on your hardware? On '**moto e5 play**' (Firebase Test Lab) the tests ended too early today. Maybe it is already...
I think can be ignored, only works with Vulkan (button "Compute")
on **moto e5 play** ```glsl 01-22 06:13:15.736: E/godot(20576): USER ERROR: CanvasShaderGLES3: Fragment shader compilation failed: 01-22 06:13:15.736: E/godot(20576): Fragment shader compilation failed. 01-22 06:13:15.736: E/godot(20576): ERROR: 0:405: '' : Case...
`CanvasShaderGLES3` = `/gles3/shaders/canvas.glsl` and `#include "canvas_uniforms_inc.glsl"` (I can find the `#define`s here) ------------------------- > `return nd * (1 / pow(max(distance, 0.0001), decay); //
> On all my tests seems to works fine, try on `moto e5 play` and tell me your results. `get_video_adapter_name() == "Adreno (TM) 308"` I think that this code will...
@clayjohn Are you familiar with all the limitations? **Example:** `vec4` are 4 `UNIFORM_COMPONENTS`? But as an array x 256 = 1024? ```glsl #define MAX_GLOBAL_SHADER_UNIFORMS 256 layout(std140) uniform GlobalShaderUniformData { //ubo:1...
> ```c++ > mediump float cone_attenuation = 0.0; > ``` You mean `struct LightData`? `syntax error` (also in C / C++ not possible) ```glsl struct LightData { // This structure...
> ```c++ > case int(LIGHT_FLAGS_BLEND_MODE_ADD): > ``` Yesterday I already switched to `if / else if` ([diff](https://github.com/godotengine/godot/compare/e010bb83574856872352b8046ccf59267bb34cb6..ecacbd9a3d678128bbb538bff4afd24da0085607)), interesting to know that it seems to work that way too. I am...