jps0611 Posted March 12, 2018 Share Posted March 12, 2018 Howdy, Is it possible to use the new glow layer with material alpha and the opacity fresnel parameters? Seems as though every time I enable opacityFresnelParameters or alpha on a material, the glow no longer works. See this playground: https://www.babylonjs-playground.com/#LRFB2D#13 If you uncomment lines 12-17 the glow layer stops having an impact. Am I doing something dumb? Thanks, JPS Quote Link to comment Share on other sites More sharing options...
jps0611 Posted March 12, 2018 Author Share Posted March 12, 2018 @Deltakosh this is probably up your alley. Quote Link to comment Share on other sites More sharing options...
jps0611 Posted March 12, 2018 Author Share Posted March 12, 2018 And related question....how does the Glow layer differ from post process bloom effect? @Deltakosh @bghgary Quote Link to comment Share on other sites More sharing options...
Sebavan Posted March 12, 2018 Share Posted March 12, 2018 Hello @jps0611, Unfortunately, neither glow or highlight layers are supporting blending operations required for the fresnel. The glow layer only account for emissive data (Huge perf win) whereas bloom is based on the luminance of the point after applying lighting. Do not hesitate if I am not clear enough. Quote Link to comment Share on other sites More sharing options...
jps0611 Posted March 13, 2018 Author Share Posted March 13, 2018 That's very helpful @Sebavan Thanks! JPS Quote 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.