Armory: Blending broken on RX 5700 XT (possibly other Navi hardware as well)

Created on 27 Oct 2020  路  2Comments  路  Source: armory3d/armory

Description
Having any materials that blend causes render pipeline errors on the RX 5700 XT (and maybe other gx10 / navi hardware)

The following exception is thrown every frame:

Trace: TypeError: Cannot read property 'setPipeline' of null
    at iron_object_MeshObject.render (<anonymous>:14072:7)
    at iron_RenderPath.submitDraw (<anonymous>:2843:6)
    at iron_RenderPath.drawMeshes (<anonymous>:2805:9)
    at iron_RenderPath.armory_renderpath_RenderPathDeferred.commands (<anonymous>:589:44)
    at iron_RenderPath.renderFrame (<anonymous>:2599:8)
    at iron_object_CameraObject.renderFrame (<anonymous>:12600:26)
    at iron_Scene.renderFrame (<anonymous>:3722:16)
    at iron_App.render (<anonymous>:2386:20)
    at Function.kha_System.render (<anonymous>:22376:3)
    at kha_SystemImpl.renderCallback (<anonymous>:22517:13)

And a lot of garbage in the preview:
image

To Reproduce
On any material, enable blending under Armory Props. The material_translucent/blend.blend example project (attached) is a perfect example

Expected behavior
Materials are additively blended

System
Blender: 2.83.5
Armory: latest git (9e8117e) and release (2020.10)
OS: Fedora 32
Graphics card: AMD RX 5700 XT

Test File
armory_examples-20.10_material_translucent.zip

bug

Most helpful comment

There is already such an issue and there is a proposal for a solution, but to what extent it is correct, here is the question (https://github.com/armory3d/armory/issues/1615).

All 2 comments

The same happens for me with a Nvidia card (apart from this garbage preview), so it's probably not related to a graphics card but instead some error in the render pipeline. It looks like its just missing a call to set the correct render target, however its still not rendered when doing that (but the error message is gone). I think there is a second error thats a bit more difficult to find, it isn't rendered with forward rendering as well.

There is already such an issue and there is a proposal for a solution, but to what extent it is correct, here is the question (https://github.com/armory3d/armory/issues/1615).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SeleDreams picture SeleDreams  路  3Comments

AttSee picture AttSee  路  4Comments

BrahRah picture BrahRah  路  3Comments

Nos- picture Nos-  路  4Comments

knowledgenude picture knowledgenude  路  3Comments