Jump to content

L B

Members
  • Posts

    967
  • Joined

  • Last visited

Everything posted by L B

  1. Problem is that transparency layer isn't affected by neither lights or distance fog.
  2. +1, although I can see someone raging at this feature request. Seems like quite a lot of coding, imho.
  3. I'd just need a hint on where to start.
  4. As some might know, I'm really into this. I've tried setting the blend to alpha and removing alphatest from the shader, but I get a weird plane-looking texture. I've toyed with all the material options but couldn't make it any better. Ideas are welcome.
  5. Trying that for grass/leaves. I get some kind of ugliness plane as it does not get cut through alphatest. Any idea?
  6. Yay, thanks. Final code for a more fantasy-like look: #ifdef LW_SWAY float seed = mod(apptime / 500.0 * 0.25,360.0); seed += mat[3].x*33.0 + mat[3].y*67.8 + mat[3].z*123.5; seed += gl_Vertex.x + gl_Vertex.y + gl_Vertex.z; vec4 movement = vec4( vec3( gl_Color.x * gl_Normal * LW_SWAY * 30 * (sin(seed)+0.25*cos(seed*5.2+3.2)) ),0.0); modelvertex += movement; fragcolor = color; #endif
  7. The terrain texture shininess is always at max (100) in game, but at 0 in editor. Any thing I must load/set/edit in particular?
  8. cullface=0 shader="abstract::mesh_diffuse_sway.vert","abstract::mesh_diffuse_alphatest.frag" shadowshader="abstract::mesh_shadow_sway.vert","abstract::mesh_shadow.frag"
  9. L B

    Grass :)

    Somehow in topic I guess: I'm trying to create a fantasy-looking grass. Epic failure, mine looks out of place and grungy (I think I could blame the lack of AA, but OGL2.3 is merely a dream from what I heard.) Example (yes, GW2. But look at the screenshots please, they represent exactly what I mean in terms of grass cover): http://www.guildwars2.com/en/the-game/professions/elementalist/
  10. As title says. Here's the starting code: #ifdef LW_SWAY float seed = mod(apptime / 100.0 * 0.25,360.0); seed += mat[3].x*33.0 + mat[3].y*67.8 + mat[3].z*123.5; seed += gl_Vertex.x + gl_Vertex.y + gl_Vertex.z; vec4 movement = vec4( vec3( gl_Color.x * gl_Normal * LW_SWAY * 3 * (sin(seed)+0.25*cos(seed*5.2+3.2)) ),0.0); modelvertex += movement; fragcolor = color; #endif I already made it bigger by multiplying the "movement" by 3 (5th line). Now I need to make it slower. Ideas?
  11. http://dexsoft-games.com/models/fantasy_trees.html
  12. This was more of a technical demonstration of LE (mostly for the new users on this forum ), but I intend to populate it with various non-playing characters that will speak in text.
  13. You still get impressed by Leadwerks, even after a long time use. (Sorry for the quality, still processing).
  14. I am wondering the exact same thing, just got back to the LE scene as well. I think it isn't a priority at the moment. I might do one in C# soon based on the Wiki page on GMF structure.
  15. Dare you use another thread in C#. We'll talk then. I don't understand why I lose so much speed and get so much stuttering with no reason.
  16. http://www.nevercenter.com/silo/ Simple, efficient, good results.
  17. L B

    C# SVN

    If I get back to LE, I hope I'll get a commit account there. ;P I'd feel insulted if not.
  18. L B

    Aerora

    http://leadwerks.com/werkspace/index.php?/gallery/image/369-should-i-get-back/
  19. L B

    Everything in its place

    When I install an OS (in order): Chrome Live Messenger Notepad++ Visual C# MySQL FileZilla TuneUp (recommended) iTunes MapleStory (yes, I know.) 9 programs for me.
  20. L B

    Firefox Explorer

    Consistency is a word you do not want to put on your resume if you intend to work at Microsoft. Seriously though, their whole line of products lacks any bit of consistency. It's extremely deceiving, and I feel your hate (although I cannot get away from Chrome).
  21. Cannot be more explicit than my title. v2.32. Not posting this as a bug report because I think I am probably the one doing something wrong.
  22. EDIT: public class Point { private float x; public float X { get { return x; } set { x = value; reorganize(); } private float y; public float Y { get { return y; } set { y = value; reorganize(); } }
  23. Because they have a pointer as a reference. Stupid and lazy decision of mine. Feel free to make a "Pointerized" abstract class and reorganize my inheritance.
×
×
  • Create New...