easy material Examples/Ninja is not running

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
User avatar
jordiperezarti
Gnoblar
Posts: 22
Joined: Sun Sep 01, 2024 7:50 pm

easy material Examples/Ninja is not running

Post 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?

paroj
OGRE Team Member
OGRE Team Member
Posts: 2087
Joined: Sun Mar 30, 2014 2:51 pm
x 1127

Re: easy material Examples/Ninja is not running

Post by paroj »

User avatar
jordiperezarti
Gnoblar
Posts: 22
Joined: Sun Sep 01, 2024 7:50 pm

Re: easy material Examples/Ninja is not running

Post 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?