Defold PBR extension

Yes for now that’s how you do it. You can multiply the result of the pbr with 0.0000001 and add it to your output for exampl

1 Like

What’s status of PBR for release? Safe to use for something in production? I only care about HTML5 runtime.

Probably safe to use for web, I don’t know if anyone has even tried it so I don’t know if it’s used in released projects. If you run into any issues I’d gladly help you resolve them!

6 Likes

We have now released a new version of this extension: Release PBR Alpha release 0.1.1 · defold/defold-pbr · GitHub

  • The extension can now be used as a true dependency for a project - just put the zip URL into the dependencies field as usual in a separate project and it should work!
  • The environment content generation tools now work on arm64 osx
  • There is a known issue on OSX with what seems to be incorrect linear mipmap sampling when running with the OpenGL backend. This doesn’t happen on Vulkan / Metal and doesn’t happen on webgl builds, so far I’ve only seen it on OSX + OpenGL, so I’ll have to dig deeper to figure this one out.
  • Updated to use the new render script format
  • Textures are bound by sampler name instead of texture units
  • Normals should look more correct

Post any issues you find on the main PBR repository, thanks!

10 Likes

:heart_eyes:

1 Like