# multi-layer parallax

checkgroup begin and
	# Skyrim
	check HEADER/BS Header/BS Version >= 83
	check HEADER/BS Header/BS Version <= 100
	check BSLightingShaderProperty
	check BSLightingShaderProperty/Shader Type == 11
	checkgroup begin or
		check NiTriBasedGeomData/Has Normals == 1
		check BSTriShape/Vertex Desc & 8
	checkgroup end
checkgroup end

texcoords 0 base
texcoords 1 tangents
texcoords 2 bitangents

shaders sk_default.vert sk_multilayer.frag
