SpiderPig Posted March 7, 2023 Share Posted March 7, 2023 Been noticing this a bit but not sure what it is... it seems to grow as the camera moves but certain camera orientations make it disappear. It's probably my material, or my mesh updates causing it but I do not know. https://www.youtube.com/watch?v=1QE3NEumHxU Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted March 7, 2023 Author Share Posted March 7, 2023 Well I disabled my material and it's not that... I'm only setting vertex positions. No normals, tangents or bitangents... maybe that's the problem... Quote Link to comment Share on other sites More sharing options...
Josh Posted March 7, 2023 Share Posted March 7, 2023 Looks like a crack in the terrain. I can see the background peeking through in some spots. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted March 7, 2023 Author Share Posted March 7, 2023 There are some holes in the mesh but I don't think its causing the shadow problem. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 7, 2023 Share Posted March 7, 2023 Oh, I see. I thought you were referring to the black line. It looks like maybe the normals are wrong? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted March 7, 2023 Share Posted March 7, 2023 Or maybe you are seeing some shadow acne. What happens if you increase the light's shadow map size? https://www.ultraengine.com/learn/Light_SetShadowMapSize?lang=cpp Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted March 7, 2023 Author Share Posted March 7, 2023 I think they were my normals actually. I realised I was using an old shader I made so I changed it for my newer one with normal calculations in the geometry shader and I haven't noticed the issue yet. Hopefully that was it. 1 Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted March 10, 2023 Author Share Posted March 10, 2023 Hmm, I might have been wrong about what was causing the issue. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted March 10, 2023 Author Share Posted March 10, 2023 On 3/7/2023 at 5:44 PM, Josh said: Or maybe you are seeing some shadow acne. What happens if you increase the light's shadow map size? https://www.ultraengine.com/learn/Light_SetShadowMapSize?lang=cpp I just tried it and it made no difference. I tried a size of 32 and 8192. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted March 10, 2023 Author Share Posted March 10, 2023 Issues disappears when I delete the directional light. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.