-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having issues loading shaders #46
Comments
Vita3K has no full support for vitaGL at least last time i tried. The white triangle rendering is coming off of a real hw or the emulator? |
Hello! Thanks for your reply! I have a white triangle in both vita3k and real hardware... |
What's the expected rendering? Vertex arrays passed are indeed for a triangle. |
According to fragment shader it should appear red. But appears white... Is fragment code wrong? |
Don't delete the shaders after linking the program. It could produce unexpected behaviours. |
Hi! Great work!
Im trying to follow a simple case with OpenGL.
I´m trying to draw a triangle and paint it using shaders. However I´m doing something wrong and I don´t know what is the problem.
Here is the source code in C:
... And here is the shaders:
fragment.shader
vertex shader
This only gives a white triangle.
With Vita3K I can see they are compiling, but I don´t what is the problem!.
Thanks a lot!
The text was updated successfully, but these errors were encountered: