YouGroove Posted June 19, 2014 Share Posted June 19, 2014 I seen no waving grass on downloads or workshop for LE3 ? It is some LE3 waving grass using a shader somewhere perhaps ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Charrua Posted June 19, 2014 Share Posted June 19, 2014 should be good not only for grass, for trees also. Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2014 Author Share Posted June 19, 2014 For trees, i don't know as you need to animate branches mainly , not the trunck or this is a thin tree and there is lot of wind ? So for trees i would gor for bones animations , why not ? Making a scene alive introducing motion and effects is what makes the difference nowadays compared to static ones, would be good to have that in LE3. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted June 19, 2014 Share Posted June 19, 2014 http://www.leadwerks.com/werkspace/files/file/471-animated-vegetation-shader/ 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Charrua Posted June 19, 2014 Share Posted June 19, 2014 i used tree objects with two meshes, one for trunk and other for branches/leaves i used shaders applied to selected meshes which vasically read and modify vertex positions giving the illusion of movement. grass waving shader do the exact thing. i'm very new here and i'm in the stage of doing (or trying to do) simple things. When i have time, i'll try to see le shaders format and see if i can modify them easily. if not, will see or wait for some one else i should read the previous post...! sorry Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2014 Author Share Posted June 19, 2014 I thaught we had some example tree model and texture as start base and to test visually , but the downlaod only contains the shaders. Ouch the download section has been replaced by Steam Workshop without transferring some really good stuff from Downloads section to Steam Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Charrua Posted June 19, 2014 Share Posted June 19, 2014 try a free one http://tf3dm.com/3d-model/tree-alan-2-68600.html remember to set diffuse texture as DTX5 (for alpha to work correctly), and naturally, to modify the material for the shader, specially texture 4 equal diffuse texture for the vegetation shader. Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2014 Author Share Posted June 19, 2014 Models for test purpose only coming from this site Did this model worked with the shader ? Did you tried it ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Charrua Posted June 19, 2014 Share Posted June 19, 2014 yes, it works ok movement is very small, which i guess is ok. don't try to modify or find a variable inside the shader to evantually set via coding. it's fbx so placing it on the assets folder automatically convert it to mdl, mat etc have to manually create the material and set the texture as dtx5 if not alpha don't behaves as spected. (i first test it with other models, but they were bought from dexsoft, and has to manipulate them the same way) Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
shadmar Posted June 19, 2014 Share Posted June 19, 2014 It should look like this (if mats are correctly configured) 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Shirky Posted June 19, 2014 Share Posted June 19, 2014 VIdeo is private. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2014 Author Share Posted June 19, 2014 I tested the model, unfortunatelly the alpha is on the normal map, i presume LE3 needs alpha map on the diffuse texture. Some strange behaviour also on material editor : : i try choosing DXT5 for normal map, when saving LE3 automatically switches to DXT5n ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Charrua Posted June 19, 2014 Share Posted June 19, 2014 here are my settings: alpha is on the diffuse texture, compression DXT5 and a snapshoot of the perspective view 1 Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2014 Author Share Posted June 19, 2014 There is a problem with the vegetation shader, the rendering is really not good like alpha is not very well taken account , i got a very different and best result using LE3 diff/norm/spc/alpha shader and shadow instead. But seems good on shadmar video ? perhaps it renders not good only in the editor and better in real time ? (i got a project update problem caus of my firewall so can't run the game for now) Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Marcousik Posted August 30, 2015 Share Posted August 30, 2015 http://www.leadwerks.com/werkspace/files/file/471-animated-vegetation-shader/ This link is dead for me. Can we still obtain this somewhere ?? THx ! Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted August 30, 2015 Share Posted August 30, 2015 Try here https://drive.google.com/folderview?id=0BxLsUYPSspxcfkpnbDFiRGJ3SV9WZi1uVzFBSG1fQlgzLW5QNW5PY3pSOFVlMUxmcnN0SVE&usp=drive_web&tid=0BxLsUYPSspxcfms3bmpvQlBSVjVYREljSElpQ3JfTmQydzg4anExZ2Fyb0I3NjZxSmkwd1E It's an archive of the old werkspace files. Hope this helps. 1 Quote Link to comment Share on other sites More sharing options...
Marcousik Posted August 31, 2015 Share Posted August 31, 2015 Man thx that's great 1 Quote Link to comment Share on other sites More sharing options...
mdgunn Posted September 7, 2015 Share Posted September 7, 2015 The animation shader works on a tree OK though in my test movement was very small. Do we need to use the specific shadow shader? If I select the vegetation shadow shader in the download then it doesn't seem to respect alpha but if I use the standard shadow shader that includes alpha then the leaf shadows don't seem to move at all (at leat to me). Do others see shadows moving? If yes what did you get to make the shadows move AND use alpha mask? Just checked again and the veg shader doesn't seem to have the nice appearance of the diffuse+normal+specular+alphamask. Have others got it looking great? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.