mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Properly take into consideration that VERTEX must be written to in opaque pre pass, does some speed up to scenes using triplanar.
This commit is contained in:
parent
d81c5004b1
commit
0243803117
6 changed files with 54 additions and 7 deletions
|
|
@ -263,6 +263,8 @@ uniform highp sampler2D skeleton_texture; //texunit:-1
|
|||
|
||||
out highp vec4 position_interp;
|
||||
|
||||
invariant gl_Position;
|
||||
|
||||
void main() {
|
||||
|
||||
highp vec4 vertex = vertex_attrib; // vec4(vertex_attrib.xyz * data_attrib.x,1.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue