Jump to content

Recommended Posts

Posted

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... :P

 

Anyways, here's how my block appears in-game:

51d18c3be361e.jpg

 

 

And here's how it SHOULD appear:

51d18c8997691.jpg

 

 

Anyone know what I need to add? I tried looking in the code for Ice (which is translucent) but nothing from there worked.

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Posted

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.

Posted

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.

Posted

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 :P

 

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? :P

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Posted

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 :P

 

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? :P

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.