Comments (10)
Hey, I have good news :) My build directory was in a bad shape and the shaders from Axmol v2.1.0 were used, instead of the new ones. Everything works after proper clean-up and fix-up on my side. My apologies, and sorry for the noise.
from axmol.
Download cpp-test apk https://github.com/axmolengine/axmol/actions/runs/9623334152/artifacts/1627192539 and run on your device check 31:Node: Label -New API/32
, does it have same issue on your device?
on my device, works fine
from axmol.
This one works as expected. Was there a fix between the faulty commit and this build? or is it a problem on my side?
from axmol.
I still have the issue on the current dev branch, so I guess the problem is in my compilation flags.
from axmol.
not sure, by default the github ci also build apk with AX_GLES_PROFILE=200
from axmol.
I can't reproduce with your code
from axmol.
I am closing this issue since it seems to be an issue on my side. I'll come back to it if I find something useful for Axmol. Thanks.
from axmol.
Any errors in console? Try checking what kind of texture is being used for that configuration (is it simple alpha mask or SDF?) and which shader. And then check if the shader matches texture type, and if the final shader in the apk is correct.
Also, does your project build and run on other platforms? Could you check if those work correctly?
from axmol.
There are no error in the logs and the shader seems to be correct (label_normal.frag and positionTextureColor.vert). I don't get what could be wrong. If I set a transparent outline to use label_outline.frag then the rendering is ok, yet the code from this shader, when effectType == 0, is almost exactly the code from the former.
I managed to get the correct rendering by patching line 1299 of Label.cpp, changing the last argument from true
to false
.
setFontAtlas(newAtlas, _fontConfig.distanceFieldEnabled, /* useA8Shader = */ false);
I don't know why there is no problem in CppTests though. Anyway, since the intent of commit 74612ef is to remove deprecated pixel formats, including A8, does it make sense to keep Label::_useA8Shader
?
from axmol.
reproduce sample please, I use your code not cpp-tests, also cann't reproduce
from axmol.
Related Issues (20)
- compiler errors with AX_EXT_HINT and lua
- Clipping issue with different child stencils HOT 2
- New project from template - compilation hangs indefinitely HOT 13
- HSL Video - Assertion failed: (_videoRotation % 180 == 0 ? YASIO_SZ_ALIGN(videoDim.x, 32) HOT 1
- Yasio uses double newline in logs
- Axmol keeps printing logs if custom logger is set with `setLogOutput()`
- `AUDIO_LOG` should be routed through Axmol's log system
- Cannot capture a layout: issue with RenderTexture?
- Cannot Capture a ScrollView: Issue with RenderTexture? HOT 6
- Downloader fails if filename with tmp extension already exists HOT 2
- Support removal of debug logging calls from builds HOT 6
- zlib download path. HOT 2
- Android Webview loadData call error function HOT 2
- Rename all AXLOG to AXLOGD (there be 417 without .\core) HOT 3
- JobSystem creates too many threads HOT 3
- ax::ui::WebView cannot display local image HOT 5
- Bug in FreeType lib for certain fonts HOT 1
- macOS Edit wrong alignment
- FastRNG seems to have problematic implementation HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axmol.