Skip to content

Commit 75bbf03

Browse files
haroonqcopybara-github
authored andcommitted
Add PBR test model.
PiperOrigin-RevId: 890431107 Change-Id: Ib3b5fa775daa93b4c798483df226585441ea5c61
1 parent b31e15f commit 75bbf03

3 files changed

Lines changed: 250 additions & 0 deletions

File tree

src/user/user_objects.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5265,6 +5265,7 @@ void mjCTexture::LoadKTX(mjResource* resource, std::vector<std::byte>& image,
52655265

52665266
w = buffer_sz;
52675267
h = 1;
5268+
nchannel = 1;
52685269
is_srgb = false;
52695270

52705271
image.resize(buffer_sz);

test/user/testdata/ibl.ktx

30.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)