Objects that are textured with partial alpha don't cast shadows

Issue #66 open
Lance Corrimal created an issue

In the last RLV, objects that have been textured with textures with partial transparency do not cast shadows when shadows are enabled.

This is already fixed in the latest development viewer; I suggest catching up with viewer-development.

I'm building a test binary to verify right now.

Comments (2)

  1. Marine Kelley repo owner

    Yes I know. I am at a loss as to WHY they don't cast shadows anymore, because my 2.8.3.2 was done specifically to fix that bug. And 2.8.3.3 was supposed to include that fix.

    The fix was about realigning the shaders with the ones that come with the official viewer. For some reasons the changes were lost when I released 2.8.3.3, and now alpha textures don't cast (or receive) shadows anymore again.

    The simple solution to this is to copy the folder "shaders" from "app_settings" of the official v3 viewer and to make it replace the one in RLV 2.8.3.3, and it works. Don't ask me why, but it works well and doesn't break invisiprims in deferred rendering (my changes in the shaders were originally made to fix those, but became useless after a while).

    I have updated my source code with the latest commits from LL, in the hope of releasing a RLV 2.8.3.4 last weekend. However these changesets do not make anything better in my viewer, and they actually break alpha texture rendering (the totally transparent part of SOME textures become totally black or totally white until you right-click on them or you zoom out then in).

    So I think I will release 2.8.3.3 again, with the shaders from the official SL viewer, to make a 2.8.3.4, after I update my source code again to ignore those new changesets from LL (at least until they fix that new alpha texture bug of theirs, but since they are leaving on vacations, I'm not holding my breath).

    Long story short, yes I know, and you can fix it in your own viewer yourself easily, or you wait for me to update my repository with the official shaders.

  2. Log in to comment