We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

No shadows in the scene on mac os

Home Forums General Questions No shadows in the scene on mac os

Tagged: ,

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #3250
    M.Ghost
    Participant

    Hi,

    I am new to verge3d and I created a scene where shadow is very important. On export everything works perfectly fine on Mozilla and Chrome on Windows, but on the same browsers on Mac no shadows appear. Could You please tell me what may be causing the problem and what is the solution? I was searching on the Internet but could not find any answers. :-(

    #3261

    Hi,

    Shadows should work on Mac – can you try this demo on your computer and see if it casts shadows?

    Chief 3D Verger | LinkedIn | Twitter

    #3301
    hoverstumps
    Participant

    Hi,

    I can confirm the issue with shadows not rendering on Mac when using Verge3d. Switching to regular three.js solves the problem. Below are links demonstrating the issue.

    Shadowmap example from Verge3d.
    Shadowmap example from three.js.

    These are identical scenes. On a Mac, shadows do not render when using the Verge3d engine.

    #3303

    Hi,

    Interesting… What Mac configuration you got?

    Chief 3D Verger | LinkedIn | Twitter

    #3313
    M.Ghost
    Participant

    Hi,

    Thank You for quick respose. Interestingly shadows don’t appear in the provided demo, but they do on both links send by hoverstumps. :wacko:
    I am attaching my mac configuration and a screenshot from the link with interactive box.

    #3318

    Thanks! Any messages printed in the browser console?

    Chief 3D Verger | LinkedIn | Twitter

    #3325
    hoverstumps
    Participant

    Hi Yuri,

    Here is the javascript console output when i run the e-learning demo you linked:

    v3d.js:1 Verge3D 2.2.0
    2v3d.js:1 v3d.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader ‘vNormal’ not read by fragment shader
    WARNING: Output of vertex shader ‘webgl_4008bac2cdf4496d’ not read by fragment shader

    Pa @ v3d.js:1

    Hope this helps! Also, thank you for providing this amazing software. :good: I hope that I find a use for it in my work.

    #3331

    Thank you for your kind words. Regarding the shadows, this seems to be a long-term rendering issue specifically related to the Mac/Radeon configuration. We’ll try to get our hands on such a system to be able to test and fix it ourselves.

    Chief 3D Verger | LinkedIn | Twitter

    #3333
    M.Ghost
    Participant

    Hi Yuri,

    Thank You so much for your help, on
    on Tuesday I will send You some more info about the issue. Happy Easter :yes:

    #3341

    Sure. To you too! :)

    Chief 3D Verger | LinkedIn | Twitter

    #3342
    johngrigni
    Customer

    I’m running into a similar problem, though specifically, when I have a texture on a floor material, the shadows don’t render. I started with a scene with two lamps, some objects, and a floor, with two spotlights. I get two shadows. If I add a texture to the floor material, I only get one shadow, and it isn’t in the right location. If I put two textures (diffuse and normal in this instance), I get no shadows. I know there are limits to textures on a surface and shadow maps count toward that total, but I thought it was higher than two. If it helps, I’m also on a Mac.

    #3349

    I’m running into a similar problem, though specifically, when I have a texture on a floor material, the shadows don’t render. I started with a scene with two lamps, some objects, and a floor, with two spotlights. I get two shadows. If I add a texture to the floor material, I only get one shadow, and it isn’t in the right location. If I put two textures (diffuse and normal in this instance), I get no shadows. I know there are limits to textures on a surface and shadow maps count toward that total, but I thought it was higher than two. If it helps, I’m also on a Mac.

    Can you share with us a lend file with different situations where two one and more lights cast/do-not-cast shadows?

    Co-founder and lead graphics specialist at Soft8Soft.

    #3355
    johngrigni
    Customer

    Here are three zips, one is using a simple material on the floor, and in “Sneak Peak” you can see both shadows. The one in ‘ATI3onetexture.zip’ has one texture, and on my Mac there is only one shadow (it shows both in Blender, if that helps). The one in ‘ATI3twotexture.zip’ has no shadows visible on the floor.

    #3364

    Hi, we have tested these scenes on our macbook but it has Intel graphics and all is ok. Can you specify your hardware in details so we try to find he same macbook for testing? Also it will be helpfull if you can make a screenshots of the browser console from each application.

    Co-founder and lead graphics specialist at Soft8Soft.

    #3368
    johngrigni
    Customer

    I just tested it on my MacBook Pro and it works with the shadows. I’m very confused.

    My main computer is an iMac Pro 5K 2017, 4.2GHz i7, with Radeon Pro 580 8GB graphics card, and it doesn’t work.

    The MBP is late 2013 2.4GHz i5 with Intel graphics card and it works fine.

Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.