Posted July 1, 201312 yr Does anyone know how I'd go about doing this? I've tried a few things, but apparently I need to do something with OpenGL and I'm really not very good at that... Anyways, here's how my block appears in-game: And here's how it SHOULD appear: Anyone know what I need to add? I tried looking in the code for Ice (which is translucent) but nothing from there worked. http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
July 1, 201312 yr I don't know if models can do transparency. I would imagine they could, if they were rendered in the correct pass... What renderPass does your block class use? 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.
July 1, 201312 yr Author I don't know if models can do transparency. I would imagine they could, if they were rendered in the correct pass... What renderPass does your block class use? I tried using both 0 and 1, didn't make a difference =/ http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
July 1, 201312 yr I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. 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.
July 1, 201312 yr I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
July 2, 201312 yr Author I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? How exactly would I use this? Like I said, I'm a GL Noob completely Looks like that simply sets the colour directly, which is fine- but I need to know where to put it and how to define which part of the model it refers to. Can you help with that? http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
July 2, 201312 yr I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? How exactly would I use this? Like I said, I'm a GL Noob completely Looks like that simply sets the colour directly, which is fine- but I need to know where to put it and how to define which part of the model it refers to. Can you help with that? I dunno. I can use GL, but I haven't tried combining glColor with textures. Try putting it either before or after your "bind texture" statement. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
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.