• Misc
  • 9,464 views • 5 today
  • 673 downloads • 0 today
  • 60
  • 44
  • 8
Maylio
Level 23 : 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
Tags

  Have something to say?

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

サイトでこのようなものをもっと見るのはクールです(今このようなものに非常に興味を持っている人として)!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)
1
Maylio
02/04/2022 3:01 am
Level 23 : Expert Miner
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!
3
Weedelec2001PL
02/04/2022 4:52 am
Level 35 : Artisan Miner
mam problem z grafiką
1
Maylio
02/04/2022 7:32 am
Level 23 : Expert Miner
Byłoby pomocne, gdyby istniał obraz tego, jaki rodzaj problemu istnieje
1

Welcome