Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

  • Author

I tried to render the player's view upside down and I thought doing it via screenshots was a good idea, but it isn't :D

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.

You may be able to push and pop some GL11 transformation using render events. Like in a pre-render event push matrix, do a transform that rotates by 180, then pop the matrix in post-render?

 

I haven't tried such a thing, but seems like maybe the right direction to try.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.