Page 30 of 51

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Mar 20, 2014 10:04 am
by robmar
Its the shader that handles EMT_REFLECTION_2_LAYER that I´m searching for.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Mar 20, 2014 9:04 pm
by Granyte
they are all in a constant in CD3D11FixedPipelineRenderer.cpp

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 21, 2014 10:47 am
by robmar
Okay thanks. There are the same shaders as in 1.7.3 or were there any changes?

For the download I´ve not done this before, is this the link https://svn.code.sf.net/p/irrlicht/code ... /Irrlicht/

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 21, 2014 5:27 pm
by Granyte
I sugest using a svn software like tortoise svn it will allow you to download full branch

and downloading and creating a checkout from this branch https://svn.code.sf.net/p/irrlicht/code ... -pipeline/

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Sat Mar 22, 2014 11:42 am
by robmar
Thanks. I see that the shaders have been updated too, and there is an 8-light pixel shader with fog support. Nice work!

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Mar 27, 2014 11:14 pm
by robmar
Going through the shader I see it isnt complete yet. In which file of irrlicht 1.7.3 are the old shaders?

I'll see if I can complete some of the missing bits.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 28, 2014 2:37 am
by Granyte
The old shaders?

you mean the dx9 shaders or those I tried to complete they were in d3d11 material or something

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 28, 2014 6:57 am
by robmar
Yes, the old dx9 ones. I´d like to compare them to the new ones to make sure the function matches, and add sphermap, reflection etc but as pixel shaders using them as reference.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 28, 2014 9:58 am
by Granyte
They are in the CD3D9ParallaxMapRenderer.cpp and CD3D9NormalMapRenderer.cpp


also looking back at the way we describe the vertex layout when using multiple streams and I think we should have dx9 imitate the way dx10-11 works aka describing the stream frequency in the vertex descriptor rather then having it set by the rendering function


as no matter how we build it we cannot change the stream frequency in the dx11 descriptor on the fly so there would be some functionality hidden like the per triangle step rate in dx11

now I would need to know how OGL vertex streams works to build a model that would work across dx9 dx10/11 and OGL

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Mar 28, 2014 10:13 am
by robmar
I´ve seen those two files, but ren´t there vertex shaders for EMT_SOLID, and for EMT_REFLECTIVE...?

... I must be overlooking something

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Tue Apr 15, 2014 5:30 pm
by robmar
Using Tortoise SVN to import from https://svn.code.sf.net/p/irrlicht/code ... -pipeline/ but its asking for a password!?!

Tried with my forum password but its not that....any ideas?

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Tue Apr 15, 2014 7:12 pm
by zerochen

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Tue Apr 15, 2014 7:32 pm
by robmar
Just tried that and got :- POST of '/p/irrlicht/code/!svn/me': 403 Forbidden (http://svn.code.sf.net)

I had made a folder on my drive, right clicked it, clicked Tortoise SVN, then Import, entered the link, hit okay and then this error.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Tue Apr 15, 2014 7:59 pm
by zerochen
you have to use checkout not import:)

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Tue Apr 15, 2014 10:02 pm
by robmar
Cryptic stuff, will give it a go 2mrw