Categories
Discussions
Activity
Home
›
Help
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Help
Categories
All Categories
1.4K
Cubism Editor
1.2K
Help
54
Tips and Tricks
200
Feature requests
53
Other Live2D Products and Tools
1
Cubism Viewer (for OW, for Unity)
3
Material Separation Photoshop Plug-in
49
Other Live2D Products and Tools (Other Photoshop Scripts, Sample Data, etc.)
302
Cubism SDK
266
Help
11
Tips and Tricks
25
Feature Requests
182
Community
40
General Discussions
10
Feature Requests
26
Projects, Showcase & Critiques
Why model shows some strokes? (CubismNative SDK 3.3 + cocos2dx)
zhouqi
January 2018
in
Help
Hi community,
I am trying to display a live2d model with cocos2dx. But it looks very strange...
Cocos2dx 3.10 + CubismNative SDK 3.3 + Win32
Hope some one can help me.
Thanks in advance.
0
·
Share on Facebook
Comments
zhouqi
January 2018
0
·
Share on Facebook
[Deleted User]
January 2018
Hi,
Thank you for using Live2D Cubism!
Judging from those pictures, it seems that alpha on the textures was used twice. If alpha is used on rgb in fragment shader, could you please delete it? fragment shader is written in GlProgram.c
Sincerely,
Dai
1
·
Share on Facebook
zhouqi
January 2018
Hi dai,
your solution did work. My models looks fine after comments:
//" fragColor.rbg *= fragColor.a;" in fragment shader
Thank you very much~
0
·
Share on Facebook
Sign In
or
Register
to comment.
Comments
Thank you for using Live2D Cubism!
Judging from those pictures, it seems that alpha on the textures was used twice. If alpha is used on rgb in fragment shader, could you please delete it? fragment shader is written in GlProgram.c
Sincerely,
Dai
your solution did work. My models looks fine after comments:
//" fragColor.rbg *= fragColor.a;" in fragment shader
Thank you very much~