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.

jfgb

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jfgb
    Participant

    Hi, Tanks for your answer.

    I have found a solution for the transparency: Principled BSDF with Transmission 1, Alpha 0.6 and the rest of the settings at 0; then a Transparent BSDF and a Mix Shader (Principled on top) with a 0.14 Fac. Finally, the Blend Mode is set to “Alpha Blend”.

    AO, though, as it can be seen in the attached image, remains invisible.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Issues with shadows with version 3.8 for Blender #46774
    jfgb
    Participant

    Thank you for the link: I’ve been looking forward to a tutorial like this!

    in reply to: Issues with shadows with version 3.8 for Blender #46773
    jfgb
    Participant

    Yes, that was ,my original intention, that the user may be able to input coordinates, date, UTC time, orientation, etc. to reposition the sun.

    I did try to translate the python sun position add-on to javascript, but soon realised the task was too hard and time consuming for my skills. Besides, as it happens so often, someone had already done it:
    https://github.com/mourner/suncalc. It is a JS library that provides Azimuth and Altitude from date, time and coordinates, but I can’t get to convert them to v3d scene coordinates…

    So, while I am not in production (I’m doing this for a couple of friends and learning, for the moment) I’ll make do with the baked coordinates and positions and give it another go later. Thank you for your interest and time.

    in reply to: Issues with shadows with version 3.8 for Blender #46761
    jfgb
    Participant

    No shadow baking: the sun will change position, to show where will it be entering the house at different preset dates and times of day. I wish I had an equivalent of the “Sun Position” add-on for blender…

    in reply to: Issues with shadows with version 3.8 for Blender #46758
    jfgb
    Participant

    Hi,

    I finally figured where my problem came from: the quality of the shadows depends on the “Max Distance” parameter of the “Cascaded Shadow Map” of my sun light in Blender: the longer I set this distance, the more jagged shadows look at a close distance. My apologies for blaming it on the v3dFechaHora 3.81 version.

    The thing is that I wanted to have shadows visible both at long and close distances, so I found a workaround: on a “when moved active camera -> while moving” event I run a script to measure the distance betweem the camera and the center of the scene and update the “Camera.shadow.maxDistance” accordingly.

    I am still not sure that is the best solution or not, but it works for me at no apparent performance cost.

    in reply to: Issues with shadows with version 3.8 for Blender #45302
    jfgb
    Participant

    … light settings

    Attachments:
    You must be logged in to view attached files.
Viewing 6 posts - 1 through 6 (of 6 total)