Yuri Roubinsky
|
e9b7ffd1fa
Added few more built-ins to shader language
|
4 gadi atpakaļ |
Yuri Roubinsky
|
b1ac3e256f
Allow declare the shader arrays with a size defined before identifier
|
4 gadi atpakaļ |
Yuri Roubinsky
|
7c07ae4c50
Fix shader crash when passing array.length to functions
|
4 gadi atpakaļ |
Yuri Roubinsky
|
6873ecaaf9
Added support for uniform arrays in shaders
|
4 gadi atpakaļ |
reduz
|
700f9d916d
More fixes to mobile renderer
|
4 gadi atpakaļ |
Yuri Roubinsky
|
fa96c98bdf
Fix shader crash when using local var with the same name as varying
|
4 gadi atpakaļ |
Yuri Roubinsky
|
fb37846b00
Added parameter names to shader built-in function autocompletion
|
4 gadi atpakaļ |
Yuri Roubinsky
|
b47b3a9957
Prevents shader crashing if varying assigned incorrectly
|
4 gadi atpakaļ |
Rémi Verschelde
|
a8fcfbf029
Merge pull request #50729 from Chaosus/shader_varying_enchancements2
|
4 gadi atpakaļ |
Yuri Roubinsky
|
17b462cc5f
Allow using vertex-stage varying in both `fragment` and `light`
|
4 gadi atpakaļ |
Yuri Roubinsky
|
94a7b04a01
Allow using vertex varying in custom functions under any circumstances
|
4 gadi atpakaļ |
Yuri Roubinsky
|
5100eed012
Added a shader warning about unused local variable
|
4 gadi atpakaļ |
Yuri Roubinsky
|
7dd65a066e
Fix `length()` array function usage in shader
|
4 gadi atpakaļ |
Yuri Roubinsky
|
5874b7a29c
Allow shader arrays to be passed as parameters and return value
|
4 gadi atpakaļ |
Yuri Roubinsky
|
084648bd18
Basic warning support implementation for the Godot Shading Language.
|
4 gadi atpakaļ |
Yuri Roubinsky
|
6135744786
Implements length() shader function for arrays in structs
|
4 gadi atpakaļ |
Hugo Locurcio
|
e905e8f145
Highlight control flow keywords with a different color
|
4 gadi atpakaļ |
Yuri Roubinsky
|
3c82f01134
Fix shader handle constant expressions in function call
|
4 gadi atpakaļ |
reduz
|
d3b49c416a
Refactor GLSL shader compilation
|
4 gadi atpakaļ |
Yuri Roubinsky
|
dd0874e717
Allow passing varying from fragment to light shader function
|
4 gadi atpakaļ |
Rémi Verschelde
|
b5334d14f7
Update copyright statements to 2021
|
4 gadi atpakaļ |
Yuri Roubinsky
|
bc0e8e7a21
Fix using post-init shader array constructors
|
4 gadi atpakaļ |
Yuri Roubinsky
|
fe4c8e387b
Added support for constants in shader `case` and array size declaration
|
4 gadi atpakaļ |
bruvzg
|
644f739660
Static analyzer fixes:
|
4 gadi atpakaļ |
George Marques
|
02f60812ed
Rename TYPE_REAL to TYPE_FLOAT
|
4 gadi atpakaļ |
reduz
|
127458ed17
Reorganized core/ directory, it was too fatty already
|
5 gadi atpakaļ |
Yuri Roubinsky
|
6914597026
FIx autocompletion for emit_particle in shader editor
|
5 gadi atpakaļ |
reduz
|
d0bddf53c5
Implement manual particle emission and particle sub emitters.
|
5 gadi atpakaļ |
Yuri Roubinsky
|
c554d9e556
Added const qualifier support for function arguments in shaders
|
5 gadi atpakaļ |
Yuri Roubinsky
|
636a9d9f50
Implemented global const array to shaders
|
6 gadi atpakaļ |