Page 1 of 1

easy material Examples/Ninja is not running

Posted: Mon Oct 14, 2024 2:59 pm
by jordiperezarti

error on loading material in ninja.mesh:
log:

RenderSystem does not support FixedFunction, but technique of 'Examples/Ninja' has no Vertex Shader. Use the RTSS or write custom shaders.

Ninja material is:

material Examples/Ninja
{
technique
{
pass
{
texture_unit
{
texture nskingr.jpg
}
}
}
}

why is not loading the Ninja material?


Re: easy material Examples/Ninja is not running

Posted: Mon Oct 14, 2024 3:38 pm
by paroj

Re: easy material Examples/Ninja is not running

Posted: Mon Oct 14, 2024 5:07 pm
by jordiperezarti

i am adding this tab to the pass tab:

Code: Select all

                rtshader_system
		{	 	
			lighting_stage per_pixel		
		}

now the scene finally renders to the window.

If i want unlighted, use just ambient light, what is the lighting_stage for the RTSshader?