[MISC] Nifskope - textures of plants transparent/not transparent?
Posted 22 July 2012 - 03:04 PM
I added alpha property to the BSLightingShaderProperty and the background can be seen through the leaves but why not the other leaves?
There is a nasty rim where you see the background instead of the other leaves.
This is how it looks in Nifskope
This is the UV Map
This is the DDS
Is there anything I can do about this issue?
Posted 22 July 2012 - 04:40 PM
Posted 22 July 2012 - 05:11 PM
Here is the alpha channel of the dds, the background is transparent:
Or dou you mean the Normalmap?
This is how I created it (the usual way):
Colour to alpha -> black
Posted 22 July 2012 - 07:20 PM
Posted 22 July 2012 - 10:43 PM
Please ignore this post. After I made it I realized that without including the textures in the correct folder structure, so the .nif can use them, the file isn't very useful.
Edited by Vince, 24 July 2012 - 03:47 AM.
Posted 23 July 2012 - 03:34 AM
Skyrim nifs don't have a NiStencilProperty anymore. You can add "double sided" in the BSLightingShaderProperty -> Shader Flags 2
Posted 23 July 2012 - 10:56 AM
Posted 23 July 2012 - 11:59 AM
So you can not use it at the same time with a NiAlphaProperty as this would occupy the second slot after the textures.
Posted 24 July 2012 - 03:43 AM
BTW, Tamira, I saw your normal map. Did you make it mostly transparent to minimize the specular reflection?
Posted 24 July 2012 - 05:42 AM
Then I copied the complete BSLightingShaderProperty from the vanilla ivy01.nif which has AlphaProperty too and casts shadows. But there were still no shadows of my trees in the game.
So I compared the settings of the Alpha property of my nif and the Ivy01.nif and it differs in the Alpha Property -> Flags which is 4844 in the Ivy.nif.
Both - Vince and my friend Beolo - referred to an Oblivion nif with the settings of 4845. This value looks great in Skyrim too but you need the setting 4844 to make the object cast shadows. This is at cost of the „beauty“ of the appearance, as it draws a more or less noticeable small rim round the leaves so that it looks a bit like a pencil-drawing.
When you don’t necessarily need shadows for your custom object – for instance potted flowers in interiors – it might look better to set the Alpha property tags to the Oblivion setting of 4845.
For casting shadows the setting is 4844.
@ Vince: These Normalmap settings are the settings that work best for me. Alpha is totally transparent.
Edited by Tamira, 24 July 2012 - 05:44 AM.
Posted 29 April 2013 - 12:21 PM
I've been using the 4845 alpha setting on many imports. Thanks for for the info about how shadows that don't cast on that setting. It also seems that when I switched to 4844, leaves ect. no longer illuminate in the dark. It was driving me crazy why certain meshes (not using the glow map functionability) were lit up as it were day time. Flipping normals seemed like step in the right direction but still gave an undesired effect. Now, if there was only a combined 4845/4844 setting...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users