Jump to content

alpha channel + Shadows (Help needed!)


Recommended Posts

I'm trying to fix some issues of my scoped bows mod and ran into a problem.


Some bows are having glass lenses "scopes" (which need to be transparent of course). The shader properties are properly flagged but unfortunately these lenses do not receive or cast shadows.

The lack of received shadows on the lenses looks kinda immersion-breaking when everything else of the bow is covered with shadow.


I played around with different values of nialphaproperty flags, unfortunately i only managed to get either opaque with shadows or transparent without shadows.


How can i make shadows appear on a transparent object?


Any help would be appreciated.


Thanks,

OutLaw

Edited by OutLaw666
Link to comment
Share on other sites

Normally i would use DXT5 for alpha channels but these particular scope textures are uncompressed, because i could see some pixelation after compressing them.


But i am not sure if this has to do with "my little problem".

It just seems that shadows are not appearing on a transparent object, but that's exactly what i would like to achieve.

Link to comment
Share on other sites

I finally cracked it!


For everyone else who might have the problem of shadows not appearing on transparent objects:


Open the BSLightingShaderProperty - Block Details of the respective NiTriShape in NifSkope and activate "SLSF2_Assume_Shadowmask" under "Shader Flags 2".

Edited by OutLaw666
Link to comment
Share on other sites

Scratch that!

Now i have axactly the same issue like this poor guy: http://forums.nexusmods.com/index.php?/topic/591996-help-need-help-figuring-out-glass-transparency-issue-in-nifskope/

 

I'm starting to loose my hair on this...

 

 

EDIT:

It seems that i have reached the limit of skyrim's engine capabilities. I tried everything. I also investigated some popular mods which are using transparency like "Realistic transparent glass armors" or "Transparent and refracting Glass Eqmnt" and they are all having the same problem.
Conclusion: It is not possible to make a glass object which is realistically affected by shadows. It either won't be affected by shadows at all or it will steal the shadows from behind of it (Which looks weird when named transparent object is touched by sunlight and you look through it into shaded areas. The shadows far behind will appear on top of it.).
Edited by OutLaw666
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...