[paid] Tree code with alpha-support and bump-mapping

Posted By: CD_saber

[paid] Tree code with alpha-support and bump-mapping - 09/11/11 07:57

Hello,

I got stucked in game progress, because of the lack of a propper shader for my tree models.

What I have are tree models with:

  • Skin one = Leaves texture with alphachannel
  • Skin 2 = trunk texture (color)
  • Skin 3 = bump map for the trunk


So I need a code that combines an alpha-sorting shader or material (for the leaves) with bump mapping for the trunk.
(I would send you a test model)

Please post a message in this post, I will answer you via pm.
I would pay up to 15 € for a working code.

Thanks in advance,
CD_SABER
Posted By: painkiller

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 10:38

just use:
Code:
ent_mtlset(me, mtl_animTree, 1);
ent_mtlset(me, mtl_specBump, 2);


Posted By: CD_saber

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 11:58

Hello painkiller,

please take a look at this:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=381413#Post381413

the leaves are flickering when I do it this way
Posted By: Slin

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 13:13

I´ll do it for 15€ if you send me a model to test it with and tell me what the two shaders are supposed to do exactly. I won´t write you new shaders, but should be able to solve the flickering problem and could adjust some existing shaders to your needs.
Posted By: painkiller

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 14:31

Originally Posted By: CD_saber
Hello painkiller,

please take a look at this:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=381413#Post381413

the leaves are flickering when I do it this way


try to set OVERLAY flag
Posted By: CD_saber

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 14:39

That did it!!!!
Thank you very much painkiller! Moreover I think, you are a real "painkiller" :-)

Best wishes,
CD_SABER
Posted By: painkiller

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 15:10

you are welcome wink
Posted By: Liamissimo

Re: [paid] Tree code with alpha-support and bump-mapping - 09/11/11 18:54

I would've done it for 5€ tongue
© 2024 lite-C Forums