Skip to content

HELP: setAmbient does not work in simple sky node #2382

Closed Answered by gwaldron
XianranZ asked this question in Support Q&A
Discussion options

You must be logged in to vote

Hello.
First, I hope you are using a newer version of osgEarth ... 2.7 is rather old :)
Second, there was indeed a defect (in the master branch) in which the diffuse color was not applied in the shader. I have pushed a fix for this. Ambient already works. Keep in mind however that specular light color is not a factor in the PBR lighting model so that will have no effect.
Hope this helps.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@XianranZ
Comment options

@gwaldron
Comment options

@XianranZ
Comment options

@gwaldron
Comment options

Answer selected by gwaldron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants