Home › Forums › Graphics / Blender › Shadows in 2.8beta
- This topic has 9 replies, 2 voices, and was last updated 5 years, 9 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2019-03-12 at 1:24 pm #12579elkCustomer
Hi.
I’m trying to set up shadows for my project, but i keep getting these jagged edges. I can’t seem to find the map size in 2.8, is it controlled by some other slider or am i looking in the wrong place ? Using a sun lamp and all there is in the “Verg3D Settings” is “Shadow Size” and that should be only for the physical size of the shadow map in the scene right ? Please see attached my current setup, softness is at dafulte 3, witch i though should produce a bit of blur, also adjusted radius up a bit, but to no effect.
Trying to set up similar settings in a new project seems to get me better results, could it be some other setting in my project messing things up ? This project has been updated through multiple Verge3D versions and pre releases as well, if that has anything to do with it.
2019-03-12 at 2:21 pm #12604Yuri KovelenovStaff2019-03-12 at 2:55 pm #12607elkCustomerThat seemed to work for the resolution, I should have tried that, but was just expecting to find it in the light settings like in 2.79.
Edit: btw; had to change cascade size, could not find a “Map Size” …
However i am still not getting the “blur” in the edges. I set up a new app from scratch, and using similar settings seems to be doing a good job even with smaller map size (see attached). But now i know where the settings are I can have a tweak to see if some of my settings are causing the problem. If you or anyone spot my mistake feel free to post a comment.
Thanks for the quick reply Yuri
2019-03-13 at 10:55 pm #12680elkCustomerFinally got around my soft shadows not working issue. Just thought I would leave a note if someone else gets a similar problem. My workaround after testing all sorts of things was to create a new project and then append my scene into the new application blend file from the old file, moved my textures over to the new folder and everything seems to work.
2019-03-14 at 7:16 am #12691Yuri KovelenovStaff2019-03-14 at 11:54 am #12739elkCustomerHello again.
It seems I am not quite rid of this issue yet. I separated my file into two scenes, one for rendering and one for Verge3D, and when i appended just the Verge3D scene into a fresh .blend file of a newly created app it worked fine. But today i wanted to append my render scene to the same file (just to keep my entire workflow in one place), but that made the jagged shadows issue come back. Removing the just imported (rendering) scene fixed it again, so i checked the console log…
Exporting with my verge scene active while the rendering scene also in the file would produce a lot more output in the console, I thought the export only would consider the current scene ? after all , only objects from the current selected scene seems to show up in the selectors in puzzles. And i don’t think anything should get linked back up when i append one scene at a time …
Anyway, i noticed a error in the export when i have both scenes in the file, (se attached). Could this be some part of the problem? the error message is a bit non-descriptive …
2019-03-14 at 12:50 pm #12752Yuri KovelenovStaff2019-03-14 at 1:04 pm #12753elkCustomerI will try to minimize the file and attach. I suspect it might be a blender beta issue, and the fact that the file has been through quite some versions of the beta by now.
The “ERROR: Invalid count 0” did not give you a clue either ? <– this seems to be some of the cameras from the other scene, I just found out …
I will try to have a file ready for you later tonight.
2019-03-14 at 10:13 pm #12786elkCustomerSo i did some more digging and managed to reproduce the bug in a new app/blend file (see attached).
So the problem seems to be that both scenes are exported i guess, and what ever scene is the “dominant”/last(?) scene will dictate the settings. I guess things might just get overwritten so whatever is last in line will win.
The file contains two scenes, almost identical. One is set to Basic and one to Soft PCF for map type, but no mater what scene i export the settings from one gets used ( the one called Basic in my example). Just copy it to a new app or set it up from scratch for yourself to try it out.
I made an extrusion on the plane in one of the scenes, but objects and verts seem the same in the console log no matter what scene i export, this was what lead me to think that the whole file may be exported not just the active scene. I assume this is not the way it is meant to behave.
So my workaround for now is setting the Verge3D render settings up in my Cycles Scene.
I guess this might be tied to my otter issues with the exporter from this thread;
I know this might be tied in to the revamp of the whole outline sceneGraph thingi, but if there is any way to get export to respect scenes it would be really great.
Really appreciate you taking a look at this, and please let me know if you need further details.
Attachments:
You must be logged in to view attached files.2019-03-15 at 7:38 am #12807Yuri KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.