ParaToxic Posted February 19, 2013 Share Posted February 19, 2013 Hey I would like to ask something about the renderer in LE3 . Is it possible to add custom shaders / buffers and passes to the pipeline ( or the framework, but I haven't heard something about a framework yet) ? I mean when I would like to add a new shader, let's say a bokeh postprocessing shader and now I wan't to add a new buffer to the frameworks renderer and let the shader render some passes .... is that possible ? How does the framework or rendering pipeline looks like in that spot ? Thanks Quote Link to comment Share on other sites More sharing options...
CGMan Posted February 19, 2013 Share Posted February 19, 2013 I'm interested in that as well. even if there won't be any support in the beginning, we can use tricks to get the effect like a second camera just rendering a plain with the scene buffer as the texture and an effect applied to that plain. then copy the rendered image, change the effect technique, texture with the new image, render, copy image, change technique, texture, and so on. should be fast enough Quote Link to comment Share on other sites More sharing options...
DaDonik Posted February 19, 2013 Share Posted February 19, 2013 Be patient guys, the more questions you ask, the longer it will take Josh to release LE3 Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI) Link to comment Share on other sites More sharing options...
ChrisMAN Posted February 19, 2013 Share Posted February 19, 2013 If what i remember hearing is correct you can attach post processing directly to the camera. Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted February 19, 2013 Author Share Posted February 19, 2013 Would be cool when it works with the camera.I don't realy know how it will works with the order of shaders.I mean for example the antialiasing shader should be applyed at the last pass and before all the stuff the lighting shader has to be applyed... maybe some functions to add the postprocessing effects before lighting, or after some basic shaders and so one Quote Link to comment Share on other sites More sharing options...
golden_gate Posted February 19, 2013 Share Posted February 19, 2013 I'm not to sure about Android, but for iOS I think the answer is yes. It appears the way LE3 is designed is to give the developer access to rendering functions in native code for the platform. A statement from Josh regarding the rendering architecture for iOS... You actually get all the code that creates the context and everything, since it isn't part of the cross-platform Leadwerks API. It's all in the generated Xcode projects, so you can access everything. Basically I could gut the rendering engine if I have too... (maybe not desirable... but it would make me stronger??) Full thread here --> http://www.leadwerks.com/werkspace/topic/5945-ios-rendering-pipeline-for-le3/ Quote Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2013 Share Posted February 19, 2013 We don't actually do any rendering to buffers in the default renderer. When I was working with the OpenGL 4 renderer, I did create buffers for each camera, so the effects and everything that used to be in the "Framework" class are stored in the camera itself. There is code there for buffers, but it's undocumented/untested and not officially supported yet. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted February 20, 2013 Share Posted February 20, 2013 so... i guess the message is... and has been for a while now... and remains, that Leadwerks 2 level graphics will not be available in Leadwerks 3... the main emphasis in 3 looks like targeting mobiles... maybe in the future there be a split... Leadwerks 3 Mobile (IOS/Android/wtc), and Leadwerks 3 Pro (hi level gfx for Win/OSX/NIX)... or something like that... the crystal ball isn't giving me a clear picture tonight... --Mike Quote Link to comment Share on other sites More sharing options...
Josh Posted February 20, 2013 Share Posted February 20, 2013 I've heard "LE2 is a graphics engine, not a game engine" too many times. We're focusing on gameplay. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.