rkh1206 Posted October 19, 2016 Share Posted October 19, 2016 Hi! I'm Korean Game Programmer. I want the output without alpha value like File "No alpha value.png" and "Docs.png". Outputting general videos, I can get the same value as File "No Setting.mp4"(WidgetSpriteVideo) In case of using functions like SetBlendFunc(Unigine::Gui::BLEND_ONE, Unigine::Gui::BLEND_SRC_ALPHA), I can get the same value as File "setBlendFunc.mp4". As for File "setBlendFunc.mp4", it's similar to what I want. But I'm afraid the blend effect affects the whole video files. I wonder if there's any proper way to print out with a transparent background instead of black background to make a clean image like png files. The origin is attached just in case. (ogv files. origin ogv and alpha channel ogv) plz help me resource.zip Link to comment
rkh1206 Posted October 20, 2016 Author Share Posted October 20, 2016 [sOLVED] Alpha Channel Setting m_pAlphaOGV->SetBlendFunc(Unigine::Gui::BLEND_ZERO, Unigine::Gui::BLEND_ONE_MINUS_SRC_COLOR); Origin Setting m_pOriginOGV->SetBlendFunc(Unigine::Gui::BLEND_ONE, Unigine::Gui::BLEND_ONE); Link to comment
Recommended Posts