-
I tried using
Does an |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Metal has more constraints but you should use a float format anyway. IBLs encode HDR lighting after all. Just use the R11G11B10F format, it’s still 32 bit per pixel but contains float data. If your IBL is small you can use RGBA16F as it’s easier to encore (you can use our half.h API for that). |
Beta Was this translation helpful? Give feedback.
-
By the way are you using cmgen to generate the IBL? I'm surprised it can even generate textures in that format. |
Beta Was this translation helpful? Give feedback.
Metal has more constraints but you should use a float format anyway. IBLs encode HDR lighting after all. Just use the R11G11B10F format, it’s still 32 bit per pixel but contains float data. If your IBL is small you can use RGBA16F as it’s easier to encore (you can use our half.h API for that).