RubilaxXxx / ArsMagica2-5

Ars Magica 2.5
5 stars 1 forks source link

Rift render is (guess what) fucked. #9

Closed AirBurn0 closed 1 month ago

AirBurn0 commented 1 month ago

Make Rift in world. Yeah, the one that is done by casting (Rift) spell. Then switch to Second Person View (or whatever it's called) by pressing Toggle Perspective hotkey 2 times (F5 by default). Result will look like this: image Possible solutions? Thaumcraft Node Stablizer works similar but without bugs: image So either: 1) Good luck with understanding how thaumcraft.client.lib.UtilsFX.renderFacingQuad() works; 2) Change that line:

  GL11.glRotatef(-renderManager.playerViewX, 1.0F, 0.0F, 0.0F);

to something like that:

  GL11.glRotatef((Minecraft.getMinecraft().gameSettings.thirdPersonView == 2 ? 1 : -1) *renderManager.playerViewX, 1.0F, 0.0F, 0.0F);

or

  GL11.glRotatef(renderManager.playerViewX, (Minecraft.getMinecraft().gameSettings.thirdPersonView == 2 ? 1.0F : -1.0F), 0.0F, 0.0F);
RubilaxXxx commented 1 month ago

fixed