MaYuMi
January 30, 2008, 6:09pm
#1
Hi, all.
I tried to use bump mapping shader, learning from "Normal Mapping"sample.
And change some code like this.
self.shader = Shader.load(MYDIR+"/bumpMapper.sha")
self.hill.setShader(self.shader)
Then I add a picture names ‘hill_tex-n.jpg’ in the same directory of hill.egg .
When I ran an application it thrown assertion error 1335c650
!input->get_nodepath().is_empty() at line 937 of c:\temp\mkpr\panda\src\display\graphicsStatteGuarduan.cxx
any idea?
ynjh_jo
January 30, 2008, 7:43pm
#2
It means, the shader wants an input, but it’s not given. It wants a “light” node to calculate the result.
In the tut, it’s this :
self.room.setShaderInput("light", plnp)
MaYuMi
February 1, 2008, 5:37pm
#3
One more help,please.
Is there anyone here has a blooming shader ( .sha file )
I tried to use shader file from XNA but it didn’t work.
or Panda3d couldn’t support?
ynjh_jo
February 3, 2008, 4:40am
#4
how about the glow shader sample ?
MaYuMi
February 3, 2008, 2:36pm
#5
Thank you,Ynjh_jo
I has tried it before.
But everything in the scence were more brighness.
I will try again.