Sha256: e364ac77ec12534dfdc8bef66c774e2c845b672088788ceace19b203e2c68862

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 KB

Contents

material GrassFloor
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture grass_1024.jpg
			}
		}
	}
}

vertex_program GrassWaverVp cg
{
	source Grass.cg
	entry_point grass_vp
	profiles vs_1_1 arbvp1
}

material GrassBlades
{
	// Vertex program waving grass
    technique
    {
			pass
			{
				vertex_program_ref GrassWaverVp
				{
					param_named_auto worldViewProj worldviewproj_matrix
					param_named_auto ambient ambient_light_colour
					param_named_auto objSpaceLight light_position_object_space 0
					param_named_auto lightColour light_diffuse_colour 0
					param_named_auto offset custom 999
				}
				alpha_rejection greater 150 
				scene_blend alpha_blend
				cull_hardware none
				cull_software none
				texture_unit
				{
						texture gras_02.png 
				}
			}
    }

	// Non-vertex program technique (no waving)
	technique
    {
        pass
        {
			alpha_rejection greater 150 
			scene_blend alpha_blend
		    cull_hardware none
            cull_software none
            texture_unit
            {
                texture gras_02.png 
            }
        }
    }
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ogre.rb-0.2-i686-linux samples/media/materials/scripts/Grass.material
ogre.rb-0.2-i386-mswin32 samples/media/materials/scripts/Grass.material
ogre.rb-0.1-i686-linux samples/media/materials/scripts/Grass.material
ogre.rb-0.1-i386-mswin32 samples/media/materials/scripts/Grass.material
ogre.rb-0.2-x86_64-linux samples/media/materials/scripts/Grass.material
shattered_ogrerb-0.5.0.2 vendor/ogrerb/samples/media/materials/scripts/Grass.material
shattered_ogrerb-0.5.1 vendor/ogrerb/samples/media/materials/scripts/Grass.material