Skip to main content
6 events
when toggle format what by license comment
Sep 16, 2016 at 3:17 vote accept Arjan Singh
Sep 16, 2016 at 10:03
Sep 15, 2016 at 4:30 vote accept Arjan Singh
Sep 16, 2016 at 3:16
Sep 13, 2016 at 15:16 comment added user1430 That said, you can only have one shader of each stage (vertex, pixel, et cetera) active at once. If you need multiple passes over your rendered frame, you will need to write and bind multiple shaders (assuming each pass is doing something different) in a row, along with any inputs and constant buffers you need for those shaders. All manually.
Sep 13, 2016 at 15:14 comment added user1430 Well your original question doesn't mention SSAO, changing shaders, constant buffers, or any of that. If that's what you want information about you have to include it in your question. Nobody can read your mind.
Sep 13, 2016 at 14:28 comment added Arjan Singh I think you might've misunderstood my question, what I meant was that how can I write a shader for SSAO for example and get it to work with the other shaders. When I make a draw call should I also call a function to change the Vertex and Pixel Shaders along with the Cbuffer data? With the FX framework I could use techniques and passes to do this but how about with the new method?
Sep 12, 2016 at 15:14 history answered user1430 CC BY-SA 3.0