On my Pixel-C... On the main menu the play button.. it seems there is a circular object being moved across this and it reveals empty grey areas of the underlying image.
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
On my Pixel-C... On the main menu the play button.. it seems there is a circular object being moved across this and it reveals empty grey areas of the underlying image.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I like the responsive environment in the level menu (the one with the 4 doors) but I noticed that pressing back device button won't get you anywhere here.
@oleg, if there are no numbers then probably i would not allow to cycle around the level sets (now you can go to left from first to get to last and vice versa, these are somehow confusing).
@antix, typically differences in shader results between devices will be because they don't have the same float precision. GLSL defines three precision classes: lowp, mediump and highp. Devices are free to use any higher precision than specified. Also highp precision is mandatory only for vertex shaders, some devices may treat highp as mediump in fragment shaders.
Google Nexus 4 version OpenGL ES 3.0 V@104.0 AU@ (GIT@Id3510ff6dc) vendor Qualcomm renderer Adreno (TM) 320 glsl_version OpenGL ES GLSL ES 3.00 shader_compiler 1 fragment_float_high_precision 23 vertex_float_high_precision 23 vertex_float_medium_precision 23 fragment_float_medium_precision 10 max_texture_size 4096
Google Pixel-C version OpenGL ES 3.2 NVIDIA 361.00 vendor NVIDIA Corporation renderer NVIDIA Tegra glsl_version OpenGL ES GLSL ES 3.20 shader_compiler 1 fragment_float_high_precision 23 vertex_float_high_precision 23 vertex_float_medium_precision 10 fragment_float_medium_precision 10 max_texture_size 16384
I'm scratching my head to fathom how my new tablet has a lesser vertex_float_medium_precision than my very old phone!
I changed the code to use high precision which works. However performance on the Nexus 4 is very bad ()even with medium precision) so I think I will not bother with shaders for my upcoming projects
One other question would be.. how do you make this shader work with images that have transparent areas? Currently it makes all transparent areas solid black in color
So it seems that i require three textures, the actual image, the normal map, and the mask. This won;t be very feasible for projects with hundreds of Sprites
It is interesting to see that Pixels can have multiple textures, that's not very well documented.
Comments
Likes: oleg
Likes: totebo
On my Pixel-C...
On the main menu the play button.. it seems there is a circular object being moved across this and it reveals empty grey areas of the underlying image.
Likes: oleg
Likes: oleg
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: oleg
https://deluxepixel.com
Cool game though, really smooth
Likes: oleg
one comment: in the list of levels i'd number them to ease keeping track of them.
Likes: oleg
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
it's a psychological factor
so that the players are not distracted by the number of levels they have gone through
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: oleg
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
I did a test on the Pixel C with OS 8.1.0 and it has the same issue. However Google Nexus 4 with Android 5.5.1 works fine.
Likes: oleg
Likes: keszegh
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: oleg
There is an API in gideros to check actual device precisions for shaders: http://docs.giderosmobile.com/reference/gideros/Shader/getProperties#Shader:getProperties
Likes: Apollo14
I changed the code to use high precision which works. However performance on the Nexus 4 is very bad ()even with medium precision) so I think I will not bother with shaders for my upcoming projects
uniform highp vec4 lightPos;
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: antix
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
So it seems that i require three textures, the actual image, the normal map, and the mask. This won;t be very feasible for projects with hundreds of Sprites
It is interesting to see that Pixels can have multiple textures, that's not very well documented.
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!