Hey!
I want to use Panda3D to render a scene but with the lighting similar to this:
Would I be able to use Shaders and Post Processing Effects that Panda3d provides and exactly recreate that?
This is what I have so far…
Hey!
I want to use Panda3D to render a scene but with the lighting similar to this:
Would I be able to use Shaders and Post Processing Effects that Panda3d provides and exactly recreate that?
This is what I have so far…
Yes, you can, if you know how to program shaders. At the moment it doesn’t depend on the engine.
For example, here is a library that has its own shaders.
You need to write something similar.
Hey, have tried out Rendering Pipeline its pretty great. I also wanted to know if it was possible to just do a single offscreen render with it?
You can create a buffer from an open window.
from panda3d.core import load_prc_file_data
load_prc_file_data('', 'window-type offscreen')
import sys
from direct.showbase.ShowBase import ShowBase
class Application(ShowBase):
def __init__(self):
ShowBase.__init__(self)
sys.path.insert(0, "../../")
sys.path.insert(0, "../../RenderPipeline")
from rpcore import RenderPipeline
self.render_pipeline = RenderPipeline()
self.render_pipeline.pre_showbase_init()
self.render_pipeline.create(base)
App = Application()
App.run()
I looked at the RP sources, it looks like it disables the base display region. I think you can change the code to get the framebuffer that is used.
I don’t think you need to use the RenderPipeline to achieve this look, a few shaders could do the job, but you would need to learn shader programming.