Does oFussion support Offset mapping?

HexDump

11-09-2007 11:48:43

Hi all,

I will try to make some tests with displacement mapping, is there anyway to achieve this fast in ofussion?.

THanks in advance,
HexDump.

Evak

11-09-2007 19:00:12

offset mapping is just a shader, if you can get an ogre compatible shader then you can use it easily in Ofusion. If you don't have one already you will have to get someone to write or convert one for you.

Ofusion does have a nice shader parameter editor built in but currently doesn't create shaders for you. ShaderFX support in ofusion is planned in the future and that is a really nice shader editor for 3dsmax.

HexDump

12-09-2007 16:09:23

Is there any place I could find information on how to convert a shader to make it compatbile with ofussion?.

P.D. If the shader is just running with Ogre, isn´t there compatible with ofussion?. I think you mean by compatible that the shader could get all needed parameteres from ofusion materials to show the correct way, am I right?.

Thanks in advance,
HexDump.

Evak

13-09-2007 02:04:48

if its compatible with ogre you still need to take the .material file and make a .program file using the same parameters. Ofusion will then write the .material files for you based on your .program file who's parameter values can be edited in ofusions shader editor and texture units you specify in your ofusion material pass.

Lioric

13-09-2007 16:21:27

This is a tutorial on creating shaders from Render Monkey:

http://www.ofusiontechnologies.com/tutorial5_part1.html

The general process can be applied to any other shader (HLSL or CG)

Evak

13-09-2007 16:29:04

Professor made a good tutorial for helping getting people started with converting shaders to ogre. It was easiest for me coming from no real coding background.

http://lumonixsoftware.com/yabb/YaBB.pl?num=1179634232

liorics rendermonkey tutorial was a bit advanced for me, but the info about binormals proved very useful to our coders and is easy to implement in your own FX shaders once your shown how.