Posted February 20, 201510 yr i've made a gui where i render a texture, but i want it to automatically be in greyscale, or preferably in an amber-like colour. this is what it looks like currently: it uses the skin of the owner of the item, thus i cannot alter the texture. i'm not very familiar with openGL, but i know how to do some things, like render 2D textures, change brightness of the image, change renderpass, rotate and offset, but not how to do this. i've been trying out the GL11.glColor3f() function, but i don't quite inderstand it yet. (i thought the three different values were rgb, but doing a bit of testing it doesnt seem like this is the case.) how do i do this? http://www.planetminecraft.com/member/sigurd4 I'm making the bioshock mod!
February 20, 201510 yr Shaders. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 21, 201510 yr Author that's not really helpful at all. doesn't shaders change the rendering stuff for everything? because i only want the steve in the bottom-right corner to be in greyscale. also, i have no idea on how to make a new shader, though i have altered the vanilla ones before (without quite understanding what i was doing). surely there's an easier way? http://www.planetminecraft.com/member/sigurd4 I'm making the bioshock mod!
February 21, 201510 yr that's not really helpful at all. doesn't shaders change the rendering stuff for everything? because i only want the steve in the bottom-right corner to be in greyscale. also, i have no idea on how to make a new shader, though i have altered the vanilla ones before (without quite understanding what i was doing). surely there's an easier way? No, Shaders only changes objects which they were applied to. And No again, there is no easier way then shaders to render grayscale.(You cannot do that only with GL11) Maybe modifying texture would work, but it would not be any easier.. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
February 21, 201510 yr Maybe modifying texture would work, but it would not be any easier.. Not to mention that it's almost impossible to get access to the bitmap data... Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 21, 201510 yr Author well nvm... i wont bother with that just for such a little detail. http://www.planetminecraft.com/member/sigurd4 I'm making the bioshock mod!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.