forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request godotengine#51843 from reduz/fixes-to-mobile-rende…
…rer-3 More fixes to mobile renderer
- Loading branch information
Showing
7 changed files
with
125 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 14 additions & 14 deletions
28
servers/rendering/renderer_rd/shaders/decal_data_inc.glsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
|
||
struct DecalData { | ||
mat4 xform; //to decal transform | ||
vec3 inv_extents; | ||
float albedo_mix; | ||
vec4 albedo_rect; | ||
vec4 normal_rect; | ||
vec4 orm_rect; | ||
vec4 emission_rect; | ||
vec4 modulate; | ||
float emission_energy; | ||
highp mat4 xform; //to decal transform | ||
highp vec3 inv_extents; | ||
mediump float albedo_mix; | ||
highp vec4 albedo_rect; | ||
highp vec4 normal_rect; | ||
highp vec4 orm_rect; | ||
highp vec4 emission_rect; | ||
highp vec4 modulate; | ||
mediump float emission_energy; | ||
uint mask; | ||
float upper_fade; | ||
float lower_fade; | ||
mat3x4 normal_xform; | ||
vec3 normal; | ||
float normal_fade; | ||
mediump float upper_fade; | ||
mediump float lower_fade; | ||
mediump mat3x4 normal_xform; | ||
mediump vec3 normal; | ||
mediump float normal_fade; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.