OutLaw666 Posted June 19, 2014 Share Posted June 19, 2014 (edited) 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 June 19, 2014 by OutLaw666 Link to comment Share on other sites More sharing options...
TheAtomicCafe Posted June 19, 2014 Share Posted June 19, 2014 This is a long shot....pun not intended.... but what are you saving the textures as? DXT 3 or DTX5? Link to comment Share on other sites More sharing options...
OutLaw666 Posted June 19, 2014 Author Share Posted June 19, 2014 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 More sharing options...
TheAtomicCafe Posted June 20, 2014 Share Posted June 20, 2014 Gebuss...I can't believe I typed DTX....embarrassing. Link to comment Share on other sites More sharing options...
OutLaw666 Posted June 20, 2014 Author Share Posted June 20, 2014 (edited) 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 June 20, 2014 by OutLaw666 Link to comment Share on other sites More sharing options...
TheAtomicCafe Posted June 20, 2014 Share Posted June 20, 2014 Cool! Link to comment Share on other sites More sharing options...
OutLaw666 Posted June 23, 2014 Author Share Posted June 23, 2014 (edited) 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 June 24, 2014 by OutLaw666 Link to comment Share on other sites More sharing options...
Recommended Posts