Langerd Posted January 15, 2015 Posted January 15, 2015 Ok i have this texture and the glow texture to it :http://wrzucaj.net/4Ushttp://wrzucaj.net/4U9I want to make this texture emit light but only from the lamp. I make a glow shader than what? If i will add in shader - q3map_surfacelight it will be on the whole texture . How to make it only from the lamp?
Tempust85 Posted January 15, 2015 Posted January 15, 2015 You'd need to have the "bulb" surface as its own texture afaik.
Langerd Posted January 15, 2015 Author Posted January 15, 2015 You'd need to have the "bulb" surface as its own texture afaik.I am sry but Que? O.o (thank You for answer)
Langerd Posted January 15, 2015 Author Posted January 15, 2015 AAaaa You mean add in shader a line : Surfaceparm bulb ?
Ramikad Posted January 15, 2015 Posted January 15, 2015 I think he meant the bulb part to be a completely different part from the texture, with a specific shader to emit light. Langerd and Tempust85 like this
Didz Posted January 16, 2015 Posted January 16, 2015 Yeah, the q3map_surfacelight setting affects an entire surface (as the name suggests). You need to separate your shaders (and brushes) into a wall shader and a light shader. Langerd and Tempust85 like this
Szico VII Posted January 17, 2015 Posted January 17, 2015 You could have an overlay texture as part of the shader with cull twosided and q3map_alphashadow, if youre not worried about extra rendering passes.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now