Jump to content

Recommended Posts

Posted

Hey Guys,

 

is there any way to render the player's view upside down? I tried to do it with screenshots which were rendered upside down on top of everything but all in all that was do slow and buggy (which i actually was sure about before I even tried :D)

 

thanks in advance

enbecko

Posted

Well, there is a super secret setting for this !

Look what you can get from this:

 

if (GLContext.getCapabilities().OpenGL20 && OpenGlHelper.areShadersSupported())
        {
        	Minecraft.getMinecraft().entityRenderer.activateNextShader();
        }

 

I can't help you more, because I'm struggling too with those damn shaders ! I hope you'll find a solution, because I need that solution.

Posted

I found it !

[code
			load = EntityRenderer.class.getDeclaredMethod("loadShader", ResourceLocation.class);
			load.setAccessible(true);
			load.invoke(Minecraft.getMinecraft().entityRenderer, new ResourceLocation("shaders/post/invert.json"));

 

You'll have a lot of try/catch to do but it works.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.