Home › Forums › General Questions › No shadows in the scene on mac os
- This topic has 18 replies, 5 voices, and was last updated 6 years, 7 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2018-03-29 at 7:58 am #3250M.GhostParticipant
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.
2018-03-29 at 10:13 am #3261Yuri KovelenovStaff2018-03-30 at 2:11 pm #3301hoverstumpsParticipantHi,
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.
2018-03-30 at 2:35 pm #3303Yuri KovelenovStaff2018-03-30 at 2:59 pm #3313M.GhostParticipantHi,
Thank You for quick respose. Interestingly shadows don’t appear in the provided demo, but they do on both links send by hoverstumps.
I am attaching my mac configuration and a screenshot from the link with interactive box.2018-03-30 at 3:22 pm #3318Yuri KovelenovStaff2018-03-30 at 5:16 pm #3325hoverstumpsParticipantHi 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 shaderPa @ v3d.js:1
Hope this helps! Also, thank you for providing this amazing software. I hope that I find a use for it in my work.
2018-03-31 at 10:27 am #3331Yuri KovelenovStaffThank 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.
2018-03-31 at 7:35 pm #3333M.GhostParticipantHi Yuri,
Thank You so much for your help, on
on Tuesday I will send You some more info about the issue. Happy Easter2018-04-02 at 7:20 am #3341Yuri KovelenovStaff2018-04-02 at 8:04 pm #3342johngrigniCustomerI’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.
2018-04-03 at 8:17 am #3349Mikhail LuzyaninStaffI’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.
2018-04-03 at 5:30 pm #3355johngrigniCustomerHere 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.
2018-04-04 at 8:27 am #3364Mikhail LuzyaninStaffHi, 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.
2018-04-04 at 11:58 am #3368johngrigniCustomerI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.