• check_circle Misc
  • 7,428 views, 7 today
  • 548 downloads, 0 today
  • 55
  • 38
  • 8
Maylio's Avatar Maylio
Level 21 : Expert Miner
6
error_outlineI'm using a translation site!


Description

A vanilla shader that can fix the relative camera position and rotation.
I borrowed the CoreShadersCustomTemplateRP.

Sites that I have used for reference
https://minecraft.fandom.com/wiki/Shaders#Java_Edition
https://github.com/ShockMicro/Minecraft-Shaders/wiki
https://github.com/Godlander/objmc


Usage

Download the resource pack and place it under .minecraft\resourcepacks.
It is easy to get the camera setting you are aiming for by pressing F3 with the resource pack unplugged and checking the rotation of your camera.

Warning
・It only supports operation with 1.20.
・No optifine or mods needed.
・Only supports third-person forward or backward views.

Configuration


You can edit assets/minecraft/shaders/include/config.glsl to change the camera position and rotation settings.

Camera position

You can move the camera by entering the coordinates relative to the player. The default values are as follows.//X-coordinate
#define CAMERAX 0.0
//Y-coordinate
#define CAMERAY 0.0
//Z-coordinate
#define CAMERAZ -4.0

Camera position

You can rotate the camera by entering the same rotation value that you can see with F3. The default values are as follows.//Vertical rotation
#define ROTATEX 0.0
//Horizontal rotation
#define ROTATEY 0.0
//Tilt
#define ROTATEZ 0.0

My favorite camera settings

From diagonally down.//Coordinates relative to the player
//X-coordinate
#define CAMERAX -1.0
//Y-coordinate
#define CAMERAY -1.0
//Z-coordinate
#define CAMERAZ 1.0

//The angle at which you want to rotate.
//Vertical rotation
#define ROTATEX -40.0
//Horizontal rotation
#define ROTATEY 45.0
//Tilt
#define ROTATEZ 0.0
From above.//Coordinates relative to the player
//X-coordinate
#define CAMERAX 0.0
//Y-coordinate
#define CAMERAY 4.0
//Z-coordinate
#define CAMERAZ 0.0

//The angle at which you want to rotate.
//Vertical rotation
#define ROTATEX 0.0
//Horizontal rotation
#define ROTATEY 80.0
//Tilt
#define ROTATEZ 0.0
Progress100% complete
Game VersionMinecraft 1.20
Resolution16x
Tags

Create an account or sign in to comment.

1
06/13/2022 6:11 pm
Level 29 : Expert Spelunker
noatryy
noatryy's Avatar
will this be updated to 1.19? it is very cool
1
07/13/2022 10:12 am
Level 21 : Expert Miner
Maylio
Maylio's Avatar
Thank you! I'll address it later!
1
06/12/2022 2:17 am
Level 1 : New Miner
Mikerr
Mikerr's Avatar
is it a mod?
1
07/13/2022 10:11 am
Level 21 : Expert Miner
Maylio
Maylio's Avatar
I’m using shaders from the resource pack!
1
02/03/2022 9:48 pm
Level 51 : Grandmaster Botanist
blank3times
blank3times's Avatar
また翻訳された:

サイトでこのようなものをもっと見るのはクールです(今このようなものに非常に興味を持っている人として)!GitHubでShock Microのシェーダーウィキを参照しているのを見ました、ここに新しいバージョンがあります:https://github.com/McTsts/ Minecraft-Shaders-Wiki /(知らなかった場合に少し役立つかもしれません。もっと完全です)


Original:

Cool to see more of this stuff on the site (as someone super interested in this stuff right now)!

I saw you referred to Shock Micro's shader wiki on GitHub, there's a newer version here: https://github.com/McTsts/Minecraft-Shaders-Wiki/

(It could help a bit in case you didn't know. It is more complete)
3
02/04/2022 3:01 am
Level 21 : Expert Miner
Maylio
Maylio's Avatar
Thank you! I hope this technology will spread more.
I didn't know about the link you sent me! Thank you! I'll spread the word to my colleagues!
1
02/04/2022 4:52 am
Level 30 : Artisan Miner
Weedelec2001PL
Weedelec2001PL's Avatar
mam problem z grafiką
1
02/04/2022 7:32 am
Level 21 : Expert Miner
Maylio
Maylio's Avatar
Byłoby pomocne, gdyby istniał obraz tego, jaki rodzaj problemu istnieje
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome