godot shader language
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXY
1
shader_type
2
spatialcanvas_itemparticles[0][1][2][3]
3
vertexfragmentrender_modevertexfragmentlightrender_modevertexrender_modesxbctx
4
vec3 SRC_VERTEXvec3 VERTEXblend_mixvec2 SRC_VERTEXvec4 SRC_COLORvec2 POSITION
skip_vertex_transform
vec4 COLORbillboardasycty
5
vec3 SRC_NORMALvec3 FRAGCOORDblend_addvec2 VERTEXvec4 FRAGCOORDvec3 NORMALblend_mixvec3 VELOCITYdisable_forceabsztz
6
ivec4 SRC_BONESbool FRONT_FACINGblend_subvec2 UVvec3 NORMALvec2 UVblend_addfloat MASSdisable_velocity0001
7
vec4 SRC_WEIGHTSvec3 NORMALblend_mulvec4 VERTEX_COLORvec3 NORMALMAPvec4 COLORblend_subbool ACTIVEkeep_data
8
vec4 POSITIONvec3 TANGENTdepth_draw_opaquefloat POINT_SIZEfloat NORMALMAP_DEPTHsampler2D TEXTUREblend_mulbool RESTART
in billboard mode only sx works
9
vec3 VERTEXvec3 BINORMALdepth_draw_alwaysbuiltinsvec2 UVvec2 TEXTURE_PIXEL_SIZEblend_premul_alphavec4 CUSTOM
you need particle_billboard mode
10
vec3 NORMALvec3 NORMALMAPdepth_draw_nevermat WORLD_MATRIXvec4 COLORvec2 SCREEN_UVunshadedmat4 TRANSFORM
11
vec3 TANGENTfloat NORMALMAP_DEPTH
depth_draw_alpha_prepass
mat4 PROJECTION_MATRIXsampler2D TEXTUREvec2 LIGHT_VEClight_onlyfloat TIME100
12
vec3 BINORMALvec2 UVcull_frontmat4 EXTRA_MATRIXvec2 TEXTURE_PIXEL_SIZEfloat LIGHT_HEIGHTfloat LIFETIME0cos-sin
13
vec2 UVvec2 UV2cull_backfloat TIMEvec2 SCREEN_UVvec4 LIGHT_COLORfloat DELTA0sincos
14
vec2 UV2vec4 COLORcull_disabledvec4 PARTICLE_CUSTOMvec2 SCREEN_PIXEL_SIZEvec2 LIGHT_UVuint NUMBER
15
vec4 COLORvec3 NORMALunshadedbool AT_LIGHT_PASSvec2 POINT_COORDvec4 LIGHT_SHADOWint INDEXcos0sin
16
float POINT_SIZEvec3 ALBEDOontopfloat TIMEvec4 LIGHTmat4 EMISSION_TRANSFORM010
17
int INSTANCE_IDfloat ALPHAdiffuse_lambertbool AT_LIGHT_PASSvec4 SHADOWuint RANDOM_SEED-sin0cos
18
vec4 INSTANCE_CUSTOMfloat METALLICdiffuse_half_lambertsampler2D SCREEN_TEXTUREvec2 POINT_COORD
19
float ROUGHNESSfloat SPECULARdiffuse_oren_nayarvec2 SCREEN_UVfloat TIMEcos-sin0
20
builtinsfloat ROUGHNESSdiffuse_burleysincos0
21
mat4 WORLD_MATRIXfloat RIMdiffuse_toon001
22
mat4 INV_CAMERA_MATRIXfloat RIM_TINTspecular_schlick_ggx
23
mat4 CAMERA_MATRIXfloat CLEARCOATspecular_blinn
24
mat4 PROJECTION_MATRIXfloat CLEARCOAT_GLOSSspecular_phong
25
mat4 MODELVIEW_MATRIXfloat ANISOTROPYspecular_toon
26
float TIMEvec2 ANISOTROPY_FLOWspecular_disabled
27
vec2 VIEWPORT_SIZEfloat SSS_STRENGTHskip_vertex_transform
28
float AOworld_vertex_coords
29
vec3 EMISSIONvertex_lighting
30
bool DISCARD
31
sampler2D SCREEN_TEXTURE
32
sampler2D DEPTH_TEXTURE
33
vec2 SCREEN_UV
34
vec2 POINT_COORD
35
float SIDE
36
float ALPHA_SCISSOR
37
builtins
38
mat4 WORLD_MATRIX
39
mat4 INV_CAMERA_MATRIX
40
mat4 PROJECTION_MATRIX
41
float TIME
42
vec2 VIEWPORT_SIZE
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
shaders
functions
general
 
 
Main menu