anthony.liot2 Posted April 10, 2015 Posted April 10, 2015 Hi, I want make a kind of ghost effect to my object, what is the best way to do that, use some specific settings on materials or make by using a shader ?I tried using some settings but I am not able to reproduce something nice, but I am not a graphist ... I want something like that : http://img3.wikia.nocookie.net/__cb20130726094932/starwars/images/6/6f/Council_RotS.png Thanks
silent Posted April 10, 2015 Posted April 10, 2015 Hi Anthony, I'm afraid some custom shader required in this case (or maybe a combination of our materials + custom post effect shader). How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
ulf.schroeter Posted April 10, 2015 Posted April 10, 2015 Material with transparency enabled and glow effect ??
anthony.liot2 Posted April 10, 2015 Author Posted April 10, 2015 Hi Ulf, Yep glow effect give something better, could be enough for now, I try something like that : Material material_bust = bust.getMaterial(0); material_bust.setState("ambient",2); material_bust.setState("emission",1); material_bust.setBlendFunc(MATERIAL_BLEND_SRC_ALPHA, MATERIAL_BLEND_ONE_MINUS_SRC_ALPHA); material_bust.setParameterSlider(material_bust.findParameter("glow_scale"),0.6); material_bust.setParameterSlider(material_bust.findParameter("emission_scale"),1); material_bust.setParameter(material_bust.findParameter("emission_color"),vec4(0.0,0.6,1.0,1.0)); material_bust.setParameter(material_bust.findParameter("diffuse_color"),vec4(0.45,0.45,1.0,0.5));
ulf.schroeter Posted April 11, 2015 Posted April 11, 2015 There should be a unigine material sample showing object specific heavy glow effect (render scene is an array of statues as far I can remember)
phil.marcks Posted April 13, 2015 Posted April 13, 2015 u can try make a blueish bright (or totally white) cubemap and achieve the effect with the reflection. adjust it with very low fresnel bias and a blend mode of one/one. black as diffuse color. you can duplicate the mesh and layer the effect with different fresnel settings and reflection color adjustments. (the greenish one in this screenshot for example)
Recommended Posts