Skip to content
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

Does not recognise OpenGl2 #6

Open
Mazchoo opened this issue Oct 25, 2021 · 1 comment
Open

Does not recognise OpenGl2 #6

Mazchoo opened this issue Oct 25, 2021 · 1 comment

Comments

@Mazchoo
Copy link

Mazchoo commented Oct 25, 2021

I'm using the latest version of OpenGl. There is an error that is logged which is:

Shaders: Disabled because the renderer is 'gl2'

I assume that it is just a naming issue. Some things display correctly by bypassing that check for the name of the renderer. I get some weird effects still, like text appearing everywhere. And the background of the image not showing properly. I don't know so much about OpenGl but it looks like the buffers are not getting cleared?

I think this is a really cool project despite the issues.

I am using windows 10
Renderer: 'NVIDIA GeForce GTX 1060 with Max-Q Design/PCIe/SSE2'
Version: '4.6.0 NVIDIA 496.13'

@Mazchoo
Copy link
Author

Mazchoo commented Oct 25, 2021

I think I solved it well enough. You have to use Renpy 6.99 and in shader.__init__ replace line 49 with True.

if renderer != "gl":
    if verbose:
        log("Disabled because the renderer is '%s'" % renderer)
    return False

goes to

if renderer != "gl":
    if verbose:
        log("Renderer '%s' looks a bit fishy." % renderer)

Looks interesting. It would be nice if it worked in the latest version but I don't know how much work that is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant