9

Turns out writing shaders for Minecraft is a fucking pain the ass my God.

Comments
  • 1
    Whut is shaders fr mine craft
  • 2
    I would expect writing most shaders to be a PITA
  • 0
    Whut is pita
  • 0
    @scout writing a glsl shader for Minecraft which alters the appearance of the game on a rendering and graphical level.
  • 1
    Whut is glsl
  • 0
    @lmgtfy what is glsl
  • 1
  • 0
    Whut is shading
  • 0
  • 1
    @Ranchu Stop teasing @scout... She's just in her "what" phase. Soon she'll go on to the "why" and then boom! She'll be an adult
  • 1
    Anytime "shaders" is dropped in any context, that's a caliber unto itself.
  • 1
  • 1
    @scout what is lol

    @Ranchonyx what exactly is the difference between writing a shader for MC in comparison to writing a shader for Unity3D or stuff like that? Do they do extra stuff? Had thought about doing it myself someday.
  • 1
    @thebiochemic whut is shader
  • 0
    @scout what is whut?
  • 1
    @thebiochemic well, both engines use some different predefined values and properties.
    For example, a fragment and / or vertex shader for Minecraft can use a engine property named "gametime" (if I remember correctly) Unity3D does not directly do that.

    Furthermore Unity does not directly support .fsh (fragment shader) and .vsh (vertex shader).
  • 1
    @Ranchonyx the second point is true, but they are easily portable into a surface shader of some kind in Unity3D (atleast that's what i did)

    the first one is not entirely true, since you have a float vector called _Time, from which you can extract time information. Idk about other engines though

    But i see in what direction it goes.

    What i'm interested in, how that configuration system works, that you can use to change the behaviour of the shader in MC. If you have that project publicly available, i'd be interested to take a look into your code (and try it out ofcourse) ☺️
  • 0
    @thebiochemic whut is what
  • 0
    @scout

    *hihats start playing*

    what what,
    what,
    what
    ...
  • 1
    @thebiochemic yes, but does _Time work the same as gametime?

    Oh, the project's not up on GitHub yet, it's a fucking mess and glitching at it's current state
  • 1
    @Ranchonyx _Time is measuring the time since the game has been launched.

    Ah i see 😅
    What version do you write them for specifically, if i may ask?
  • 1
    @thebiochemic I think 1.15? Not sure and not at home rn
Add Comment