Hi, I'm new to Horde and I've come across an issue which is presumably quite simple to solve but whose solution is currently evading me.
How do you bind multiple textures (for doing effects like bloom etc)?
The current documentation suggests you would specify something along the lines of:
Code:
<BindBuffer shaderIndex="0" target="BUFFER" bufIndex="0"/>
However the examples in the SDK specify:
Code:
<BindBuffers target="BUFFER" />
The command itself is different (there is now an 's' on the end of BindBuffer which seems correct after poking around in the source code) and the shaderIndex and bufIndex attributes seem no longer necessary (and they don't seem to exist in the source).
I've tried various different methods of trying to bind 2 textures but it always results in the last specificed buffer being used and the other being ignored. I would assume the way to do this would be to have several of these BindBuffers commands in a row? i.e.
Code:
<BindBuffer shaderIndex="0" target="BUFFER1" bufIndex="0"/>
<BindBuffer shaderIndex="1" target="BUFFER2" bufIndex="0"/>
or
Code:
<BindBuffers target="BUFFER1" />
<BindBuffers target="BUFFER2" />
Am I barking up the wrong tree, or am I in fact in the wrong park alogether? Any help would be much appreciated