ZeRaW
25-02-2007 21:19:37
well i have some glsl and hlsl shaders, I see that only CG and render monkey shaders are being used, is there a reason for that? or can i just use my normal shaders?
Lioric
26-02-2007 15:59:11
CG an HLSL shaders programs are supported (CG are being used by the default provided shaders and in the example scenes for compatibility)
ZeRaW
26-02-2007 19:23:18
I know CG is supported.
I do not see any example using hlsl tho
Lioric
26-02-2007 21:53:05
CG and HLSL are almost identical languages, all you need is to define the proper syntax and targets in the program files (see the Material section of the Ogre manual for more details)
ZeRaW
26-02-2007 23:01:17
so it seems glsl is not supported, this is what i want to know.
yes i know all i need to do is just write the codee differently.
but I m trying to run some of the posted tutorials, I have tried the sample:
Normal Mapping tutorial, tried to do it myself, even tried to run the sample,
but i do not see anything happen.
same scene but using render monkey it works fine. anyways I see the render monkey is just a hack in and re-write the script as a kinda CG or something.
well I figure out how it works so thanks i suppose.