Postprocessing - binding shader variables

Pedro Arthur <[email protected]> Sun, 30 Jun 2013 21:56:12 -0300
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAKN1MR6=ECC=YhANXggoJVnBibKPmRgNd19TLbHWyDXzBfhBBA@mail.gmail.com>
Hi,

I'm trying to properly bind the input textures to the posteffect's layer's
shader, and I have some questions:
What's the correct way to do that?

What csShaderVariableStack does?

I also tried without success:

csRef<csShaderVariable> sv =
iShader->GetVariableAdd(manager->svStrings->Request (inp.svTextureName))
sv->SetValue(inp.inputTexture);


Thanks,
Pedro.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop