All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Common.MatDefs.Terrain.Terrain.j3md Maven / Gradle / Ivy

The newest version!
MaterialDef Terrain {

	MaterialParameters {
		Int BoundDrawBuffer

        // use tri-planar mapping
        Boolean useTriPlanarMapping

		Texture2D Alpha -LINEAR
		Texture2D Tex1
		Texture2D Tex2
		Texture2D Tex3
		Float Tex1Scale
		Float Tex2Scale
		Float Tex3Scale
	}

	Technique {
		VertexShader    GLSL300 GLSL150 GLSL100:   Common/MatDefs/Terrain/Terrain.vert
		FragmentShader  GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.frag
		
		WorldParameters {
			WorldViewProjectionMatrix
		}

        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
            TRI_PLANAR_MAPPING : useTriPlanarMapping
        }
	}
	
    Technique {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy