Go to advanced search

by Notthesameman
Mon Apr 13, 2020 8:35 am
Forum: OpenGLES
Topic: RPI4_SET_UNIFORM_ATTRIBUTES_BUG
Replies: 0
Views: 254

RPI4_SET_UNIFORM_ATTRIBUTES_BUG

hi i want to report a issue with rpi4 drivers games are not preseting correct.
the issue:
rpi 4 has a bug where it does not save uniform and attribute state with
the program, so they have to be reinit each time you reuse the program.
by Notthesameman
Sun Apr 12, 2020 3:34 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

i made some what progress, im not a dev so its kind of a mess what i tired to do, not sure why rpi4 is not reading the opengl for this emulators, im stuck now, i got alot on the road, heres a few previews of progress. the code i dont understand is 255.0, the 0 into 1 corrects the colors, i need to m...
by Notthesameman
Sat Apr 11, 2020 11:55 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

not sure if theses are color, or width of a texture or image? ive used colors but it seems i can get more colors if i use <<8, if anyone can explain what this is for, the way i saw it is that it fixed other layers of colors. ive advanced alot enough for the games to almost playble, ill post back whe...
by Notthesameman
Fri Apr 10, 2020 9:51 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

the auther already came here and posted the code asking that he drivers on raspberry pi 4 might be the issue? someone said that color doesnt have enough precsion, a few devs already confirmed that it is on highp. we already went through this over and over ive had devs go to yabasanshiro, also them a...
by Notthesameman
Fri Apr 10, 2020 6:01 am
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

I was wondering because you look to be using the green and red channels of txindex as a 16-bit index into a 1D texture. The 0.25 limit on the green channel I suggested is because if it is 0.25 or higher then you are going to end up with a value that is larger than the maximum texture width that Ope...
by Notthesameman
Thu Apr 09, 2020 5:48 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

im getting a singe color now on pictures that were showing correct but colors missing or odd color with this code txindex.g*0.20 if i set txindex.g*165280.0 i was messing with the numbers and some things showed correctly on the second code if i set txindex.r*255.0 im not sure why it doesnt do anything
by Notthesameman
Thu Apr 09, 2020 5:35 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

yes, sorry if i didnt explain my self, the image seems to be reverse like a color is flipped so i thought maybe if i changed .x and .y maybe it work but didint, i was told that this line of code was the error i was not sure what is the value to set, do i set lower then 0.25? let me try this then ill...
by Notthesameman
Thu Apr 09, 2020 2:36 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Re: Wrong shader colors?

update: if i change

Code: Select all

255.0
the 0 to 1 i get more proper colors, the colors are reversed on the whole screen, backgrounds are still the same.
by Notthesameman
Wed Apr 08, 2020 8:13 pm
Forum: OpenGLES
Topic: Wrong shader colors?
Replies: 10
Views: 848

Wrong shader colors?

hello everyone, im having trouble with this code, it should work on the rpi4.
Wrong shader colors i think is the right words.

Code: Select all

"  vec4 txcol = texelFetch( s_color,  ivec2( ( int(txindex.g*65280.0) | int(txindex.r*255.0)) ,0 )  , 0 );\n"
thanks and i hope someone can help :D
by Notthesameman
Mon Apr 06, 2020 2:44 pm
Forum: OpenGLES
Topic: texelFetch does not have enough precision.
Replies: 6
Views: 1090

Re: texelFetch does not have enough precision.

Info in the previous post had been updated (since it was an edit, I'm not sure if subscribers would see it) how do we know if they read it, i been on theses fourms but not to sure how they work, the last post i edited was cos i felt that the info was not good enough and i been waiting for about a m...
by Notthesameman
Tue Mar 10, 2020 12:09 am
Forum: OpenGLES
Topic: texelFetch does not have enough precision.
Replies: 6
Views: 1090

Re: texelFetch does not have enough precision.

okay, here again, it seems that this is what we got so precision highp is set at that, the code is here #if defined(_OGLES3_) "#version 300 es \n" "precision highp float;\n" "precision highp int;\n" #else "#version 330 \n" #endif they asked me to post back here maybe something else is giving this er...
by Notthesameman
Mon Mar 09, 2020 10:05 pm
Forum: OpenGLES
Topic: texelFetch does not have enough precision.
Replies: 6
Views: 1090

Re: texelFetch does not have enough precision.

This is happening on the pi4

Go to advanced search