Jump to content

Making a NIF appear shadeless ingame


Yanme

Recommended Posts

Posted

Hi,
I am wondering if there is a way to make a nif render shadeless in Skyrim. What I mean is that I do not want diffuse (or specular) lighting, instead I want the color to be determined by texture only (independently of light sources and normals, like if you set a material to "shadeless" in blender).

 

Basically, I want a mesh that is not affected by light sources (or their absence) whatsoever.

 

I tried using a glow map, but I found that having glow but no diffuse didn't work for me at all, furthermore the best result I could get was extremely washed out.

 

If possible, I would like image space modifiers to still affect the mesh though.

Any nif experts have any idea? Has anyone seen a mesh like that in the game/a mod, so I can look into it how it was done?

Posted
16 hours ago, Yanme said:

Hi,
I am wondering if there is a way to make a nif render shadeless in Skyrim. What I mean is that I do not want diffuse (or specular) lighting, instead I want the color to be determined by texture only (independently of light sources and normals, like if you set a material to "shadeless" in blender).

 

Basically, I want a mesh that is not affected by light sources (or their absence) whatsoever.

 

I tried using a glow map, but I found that having glow but no diffuse didn't work for me at all, furthermore the best result I could get was extremely washed out.

 

If possible, I would like image space modifiers to still affect the mesh though.

Any nif experts have any idea? Has anyone seen a mesh like that in the game/a mod, so I can look into it how it was done?

 

A shot in the blue - untested.

In the Nif in BSLightingShaderProperty, Shader Type Default.


Shader Flags 1:
Disable SLSF_1_Cast_Shadows.

 

Shader flags 2:
Disable SLSF_2_EnvMap_Light_Fade
Disable SLSF_2_Assume_Shadowmask

 

Maybe not all flags change at once, but step by step.
I would test Cast Shadows first.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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