Announcement

Collapse
No announcement yet.

Creating a texture per object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Creating a texture per object

    I know somewhere on the web i found a tutorial that told you how to make shell cases that after being ejected from the gun create their own texture via code wich fades out over time ( i think they did this with a shader with a constant color in the opacity slot that changed over time) i'd like to know how to create a texture in code, help is apreciated

    also i'd like to know if it is possible to attach bones to actors

    #2
    Look at ShadowProjector for a sample. If you do use pooled objects (which is a good idea), make sure to release the texture (check ObjectPool) when you're done with them so new projectiles can re-use them.

    Comment

    Working...
    X