Trouble getting Bake Texture work
4349 7 1- omgeric
- Member
- 48 posts
- Joined: Feb. 2013
- Offline
Bake Texture ROP seems not to bake down the normals from a high poly to a low poly (I think I've selected all the correct options eg ‘bake texture’ and ‘tangent normals’ etc). Also post processing options like “ Border Expansion” don't do anything. File attached, is anyone else having the same problem?
- mdavies
- Member
- 110 posts
- Joined: May 2015
- Offline
Hi,
If you look at the extra images planes output by the bake you should see the various outputs: N, Nb, Nt. When baking with the Bake Shader the ‘C’ plane is black, which is normal. All the bake data is handled by the extra image planes. Could you verify that switching planes within MPlay shows the correct outputs? Thanks.
~M
If you look at the extra images planes output by the bake you should see the various outputs: N, Nb, Nt. When baking with the Bake Shader the ‘C’ plane is black, which is normal. All the bake data is handled by the extra image planes. Could you verify that switching planes within MPlay shows the correct outputs? Thanks.
~M
- omgeric
- Member
- 48 posts
- Joined: Feb. 2013
- Offline
Yeah I think the problem is that you can get a baked shading normal (Nb) which is what you have there, but not for tangent normals. the only transform i've seen from worldspace normals to tangent is in a vex shader context.
also the edge padding(border expansion) doesn't work either.
(same file just increased the crease weight on the subd)
also the edge padding(border expansion) doesn't work either.
(same file just increased the crease weight on the subd)
- mdavies
- Member
- 110 posts
- Joined: May 2015
- Offline
- omgeric
- Member
- 48 posts
- Joined: Feb. 2013
- Offline
- mdavies
- Member
- 110 posts
- Joined: May 2015
- Offline
Hi,
I've found that this is related to the UVs of the box object. If you rotate them by 1 degree the bake works as expected. I will need to look a bit deeper, but I believe this is an issue with the tangent basis, which seems to be degenerate in some cases. Note that this issue only affects the tangent-space normals; all other bake channels work as expected.
The attached shows the working setup. I've also had success using a different UV layout for the box (try UV Unwrap, for example).
~M
I've found that this is related to the UVs of the box object. If you rotate them by 1 degree the bake works as expected. I will need to look a bit deeper, but I believe this is an issue with the tangent basis, which seems to be degenerate in some cases. Note that this issue only affects the tangent-space normals; all other bake channels work as expected.
The attached shows the working setup. I've also had success using a different UV layout for the box (try UV Unwrap, for example).
~M
- omgeric
- Member
- 48 posts
- Joined: Feb. 2013
- Offline
mdavies
Hi,
I've found that this is related to the UVs of the box object. If you rotate them by 1 degree the bake works as expected. I will need to look a bit deeper, but I believe this is an issue with the tangent basis, which seems to be degenerate in some cases. Note that this issue only affects the tangent-space normals; all other bake channels work as expected.
The attached shows the working setup. I've also had success using a different UV layout for the box (try UV Unwrap, for example).
~M
thanks
- alireza kavandi
- Member
- 1 posts
- Joined: April 2019
- Offline
-
- Quick Links