Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Export to UWP does not support mesh ?? — Gideros Forum

Export to UWP does not support mesh ??

After export I lose the background created by the mesh

my games:
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!

Comments

  • hgy29hgy29 Maintainer
    @oleg, can you post here the piece of code that don't work on UWP (that is, how you built the mesh that doesn't get rendered) ? I will check here what is the issue, I suspect a builtin shader issue.

    Likes: oleg

    +1 -1 (+1 / -0 )Share on Facebook
  • olegoleg Member
    hgy29 said:

    @oleg, can you post here the piece of code that don't work on UWP (that is, how you built the mesh that doesn't get rendered) ? I will check here what is the issue, I suspect a builtin shader issue.

    local mesh = Mesh.new()
    mesh:setVertices(
    1, 0, 0,
    2, 1920, 0,
    3, 1920, 1200,
    4, 0, 1200
     
    )
     
    mesh:setIndexArray(
    1, 2, 3,
     1, 3, 4
     
    )
     
    mesh:setColorArray(
    0x73171c, 1,
    0x13060d, 1,
    0x13060d, 1,
    0x73171c, 1
     
     
    )
    stage:addChild(mesh)
    The game starts and gives no errors, but the color does not apply
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • hgy29hgy29 Maintainer
    Accepted Answer
    Bug confirmed and fixed, the directx engine code wasn't properly dealing with fragment shaders without any uniforms (due to a typo).
    +1 -1 (+4 / -0 )Share on Facebook
Sign In or Register to comment.