I understand how to sorta use them, but I’m a little lost on actully use them. Is there any more really simple examples out there?
I’m looking mainly for a water shader and a bloom or is it a HDR one to make things “shiny”?
I took a look at the demomaster, but everything so smash togather that it’s really hard to follow. =/
I also get a “fog is not supported” when I use the autoshader command; is that normal?
rdb
February 8, 2010, 7:08am
2
Have you seen sample programs like “Cartoon Shader - Advanced” and “Shadows - Advanced” ? They show how to apply shaders.
Anon
February 8, 2010, 9:34am
3
For bloom simply use:
filters = CommonFilters(base.win, base.cam)
filters.setBloom()
Don’t forget to import
from direct.filter.CommonFilters import CommonFilters
If you want only some models to be affected by it, read this: panda3d.org/manual/index.php/C … ge_Filters
Panda doesn’t come with a water shader (not used so often) so you’ll have to do it manually. Like rdb said take a look at he Cartoon inking/shading samples in your ‘samples’ folder
rdb
February 8, 2010, 10:08am
4
Anon
February 8, 2010, 10:30am
5
PS: Dont know about fog, but transparent textures and stencils can act a bit weird with the filters
rdb
February 8, 2010, 10:31am
6
Fog is not supported by the Shader Generator at this time.
adr
February 8, 2010, 4:56pm
7
lol is it ever going to be? (Remembers a few years back).