mirror of
https://github.com/godotengine/godot.git
synced 2025-01-27 04:12:02 +00:00
GLES2: Fix typo in tangent calculation
Thanks @tagcup for the find. Fixes #23234.
This commit is contained in:
parent
72db3000a5
commit
053da2b487
@ -359,7 +359,7 @@ void main() {
|
||||
normal = normalize((world_matrix * vec4(normal, 0.0)).xyz);
|
||||
#if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP)
|
||||
|
||||
tangent = normalize((world_matrix * vec4(tangent, 0.0)), xyz);
|
||||
tangent = normalize((world_matrix * vec4(tangent, 0.0)).xyz);
|
||||
binormal = normalize((world_matrix * vec4(binormal, 0.0)).xyz);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user