mirror of
https://github.com/godotengine/godot-tests.git
synced 2025-12-31 13:48:10 +03:00
This is a new testing project (not to be confused with the existing `test_project` which has a smaller scope). It's intended to cover a sizeable ground of Godot functionality on CI. This includes headless exporting, as well as ensuring a visual match between running the project from its folder and the exported PCK.
15 lines
286 B
Plaintext
15 lines
286 B
Plaintext
shader_type spatial;
|
|
|
|
global uniform vec3 offset;
|
|
instance uniform vec3 emission : source_color = vec3(1.0, 0.0, 0.0);
|
|
uniform vec3 color : source_color = vec3(1.0, 0.0, 0.0);
|
|
|
|
void vertex() {
|
|
VERTEX.xyz += offset;
|
|
}
|
|
|
|
void fragment() {
|
|
ALBEDO = color.rgb;
|
|
EMISSION = emission.rgb;
|
|
}
|