How would i create glass textures? - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Editing and Concept Art (https://forums.xonotic.org/forumdisplay.php?fid=11) +--- Thread: How would i create glass textures? (/showthread.php?tid=7850) |
How would i create glass textures? - Molnija - 10-27-2018 Hello I have a texture that I want to make a blueish tinted glass so that I can use it in my map but I don't know how... RE: How would i create glass textures? - _para - 10-28-2018 1) Make blue texture: textures/customname/blue_glass.jpg 2) Make an alpha texture for this: A greyscale image where white is opaque and black fully transparent. So for a blue glass you go with some grey textuer and name it textures/customname/blue_glass_alpha.jpg 3) I dont know if you need that but the chance is there: scripts/yourshader.shader and in it: Code: textures/customname/blue_glass.jpg //path and name to use in the mapeditor Heres more on shaders: http://toolz.nexuizninjaz.com/shader/ And heres a tetureset I quickly made that has exactly what you need: https://www.mediafire.com/file/v2j61zwc2h7627b/uniform_materials.pk3/file (search for uniform_mats/glass_b) The enamel textures included are slick/ice. On that occasion I posted it to another thread with pictures... only grey-glass visible though: https://forums.xonotic.org/showthread.php?tid=7747&pid=84014#pid84014 RE: How would i create glass textures? - Molnija - 10-28-2018 (10-28-2018, 03:14 AM)_para Wrote: 1) Make blue texture: textures/customname/blue_glass.jpg[DISREGARD]No, It didn't work its still like a wall so unless I messed up the code :/ I fixed the error. |