04-16-2016, 02:04 PM #1
DrHackHD
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); how change shader for the background?
this is my menu system:

self.Menu.Material["Background"] = self SetMaterial("CENTER", "TOP", 0, 0, 198, 1000, (0.455, 0.455, 0.463), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("CENTER", "TOP", -97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["Scrollbar2"] = self SetMaterial("CENTER", "TOP", 97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("CENTER", "TOP", -99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("CENTER", "TOP", 99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);
(adsbygoogle = window.adsbygoogle || []).push({});
04-16-2016, 02:33 PM #2
Patrick
League Champion
change "white" to a shader you would like to use and make sure you "precacheShader" the shader..
04-17-2016, 02:25 PM #3
DrHackHD
Bounty hunter
yes i know bro but i need the script for theme menu
04-17-2016, 05:07 PM #4
Patrick
League Champion
Originally posted by DrHackHD View Post
yes i know bro but i need the script for theme menu


you just need to make a var so it will store the colours even though you are destroying the shaders.
04-17-2016, 06:01 PM #5
HiddenHour
I defeated!
Originally posted by DrHackHD View Post
how change shader for the background?
this is my menu system:

self.Menu.Material["Background"] = self SetMaterial("CENTER", "TOP", 0, 0, 198, 1000, (0.455, 0.455, 0.463), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("CENTER", "TOP", -97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["Scrollbar2"] = self SetMaterial("CENTER", "TOP", 97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("CENTER", "TOP", -99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("CENTER", "TOP", 99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);


    changeBGShader(shader)
{
bgWidth = the width of your background shader;
bgHeight = the height of your background shader;
self.Menu.Material["Background"] setShader(shader, bgWidth, bgHeight);
}

Find bgWidth and bgHeight
05-03-2016, 02:08 AM #6
Originally posted by DrHackHD View Post
how change shader for the background?
this is my menu system:

self.Menu.Material["Background"] = self SetMaterial("CENTER", "TOP", 0, 0, 198, 1000, (0.455, 0.455, 0.463), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("CENTER", "TOP", -97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["Scrollbar2"] = self SetMaterial("CENTER", "TOP", 97, 0, 10, 13, (0.502,0.502,0.502), "white" , 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("CENTER", "TOP", -99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("CENTER", "TOP", 99, 0, 1, 1000, (0.502,0.502,0.502), "white", 1, 0);


Been a couple weeks, has your issue been resolved?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo