weird normal map
Channel:
Subscribers:
111
Published on ● Video Link: https://www.youtube.com/watch?v=J2-jXHsTvI4
anyone noticed a weird normal map behavior when set by shader material?
here two copy of the same model sharing the same normal map with the only exception of how it is assigned to them. There is a directional light, set to 45 degree, who is lighting the scene.
Normal map on the left model is set by using built-in fixed material while the normal map on the right model is set by using a shader material like this:
uniform texture normal_map;
NORMALMAP = tex(normal_map, UV).xyz;
NORMALMAP_DEPTH = 1;
as you can notice the model with fixed material looks natural while it is revolving while the model with shader material shows a weird shading artifact, a bit like if the light was moving vertically.
Other Videos By FFX Runner 2 Undead Rods
2016-10-17 | godot car bug |
2016-05-26 | FFX Runner Undead Rods (prototype) |
2016-03-18 | FFX Runner2 wip 18/03/2016 |
2016-02-19 | FFX Runner HD |
2016-02-12 | FFX Runner HD |
2016-01-16 | sgrafegn |
2015-12-16 | Animating the Disk |
2015-12-15 | Rigging the Disk |
2015-12-10 | foreshore improvement |
2015-12-09 | Terrain Shader |
2015-12-04 | weird normal map |
2015-12-02 | Caustics with shaders inside Godot |
2015-11-26 | Enemies Path |
2015-11-16 | bake_low_poly |
2015-11-09 | betterCamera |
Tags:
godot engine