Hi! I just want to make adjustable option button in shader settings tab.
I've made some code, but there is only a button without any possibility to be set by clicking on it.
I'm not uploading my code, bacause I only need an easy way to make that option.
I'm using en_US.lang and shaders.properties files.
There is no way to help without seeing the code. To make buttons work, just look at other GUIs. If your button code doesn't work, just use debugger mode in Eclipse to see what is going wrong.
Okay, I looked at others' shaders, and tried something, what I ignored before...
#define BLOOM_STRENGTH 2
but I had to use:
#define BLOOM_STRENGTH 2 //[1 2 3]
I didn't know that, comments will be read...
My shaderpack now has only vignette, crossprocessing, waving stuff and simple "bloom" (brightens up torches, fire and other stuff like that), frame rate is almost 2x as with Chocapic13 Lite.