Rise background
-
THIS IS NOT A BACKGROUND SHADER
code/** * @author liulihaocai */ class GuiRiseBackground : GuiScreen() { override fun initGui() { val bufferedImage = ImageIO.read(GuiRiseBackground::class.java.classLoader.getResourceAsStream("assets/minecraft/fdpclient/misc/bg.png")) mc.textureManager.loadTexture(ResourceLocation("NMSL"), DynamicTexture(bufferedImage)) } override fun drawBackground(tint: Int) { GL11.glDisable(GL11.GL_DEPTH_TEST) GL11.glEnable(GL11.GL_BLEND) GL11.glDepthMask(false) OpenGlHelper.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ONE, GL11.GL_ZERO) RenderUtils.glColor(hslRainbow(1)) mc.textureManager.bindTexture(ResourceLocation("NMSL")) drawModalRectWithCustomSizedTexture(0, 0, 0f, 0f, width, height, width.toFloat(), height.toFloat()) GL11.glDepthMask(true) GL11.glDisable(GL11.GL_BLEND) GL11.glEnable(GL11.GL_DEPTH_TEST) } override fun drawScreen(mouseX: Int, mouseY: Int, partialTicks: Float) { drawBackground(-1) } private val startTime=System.currentTimeMillis() fun hslRainbow(index: Int,lowest: Float=0.41f,bigest: Float=0.58f,indexOffset: Int=300,timeSplit: Int=5000): Color { return Color.getHSBColor((abs(((((System.currentTimeMillis()-startTime).toInt()+index*indexOffset)/timeSplit.toFloat())%2)-1) *(bigest-lowest))+lowest,0.7f,1f) } }
and dont forgot to put the image
idk how 2 add a blur effect, plz add blur if u can :3 -
@qwq-liulihaocai oMG OMGGG
-
ew i prefer shader
-
-
@poop-dealer what?
-
@ender1337
retarded
option invalid -
This post is deleted!
-
@ender1337 said in Rise background:
@poop-dealer
wasn't @poop-dealer the dumbass who pretended to be dort and tried to be funny but failed?
option invalidno it wasnt me
option valid -
@ender1337 said in Rise background:
wasn't poop dealer dort's redesky name and u copied it literally
no? are you ok bro
-
@ender1337 said in Rise background:
@poop-dealer https://forums.ccbluex.net/user/poop_dealer
when you cant explain this
definitely not your alt
-
reddit trolls are better than you @ENDER1337
-
@________ randomwords[Random.nextInt(0 ,randomwords.length)]
-
@qwq-liulihaocai can u give for java not kotlin
-
@Plumer-Man The source was posted for a reason and that reason is for others to use sherlock
-
@plumer-man ok I will try then,
but I'm not so good with Kotlin and I also ask for where should the block of code go exactly??