HeightField loading terrain is pitch black #1297
Unanswered
luohuiiqng
asked this question in
Q&A
Replies: 1 comment
-
I can't see anywhere where you assign an image to the texture. First thing I'd try to comment out the stateset->setTextureAttributeAndModes(0, tex.get()); line to check whether the source of the black is an unset texture. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
code:
Thanks!

Beta Was this translation helpful? Give feedback.
All reactions