Reply
Reply
 
Thread Tools Display Modes
dregoloth's Avatar
Old (#1)
I'm relatively inexperienced in cryengine, so I need help.
I've been working on learning the terrain system in the engine, and I created some grass according to this tutorial in the engine, but I get sorting issues when I enable transparency by changing opacity to 99. My assumption is that I just don't know how to enable transparency properly, but I'm not sure as most of the tutorials I've seen say do that.
Offline , spline, 145 Posts, Join Date Mar 2010,  
   Reply With Quote

[HP]'s Avatar
Old (#2)
Don't use opacity! Opacity creates all sorts of sorting errors, stick with alpha test.
Leave Opacity at 100, and use the value or 30 or so on AlphaTest.

Also, don't forget to use the Vegetation shader. And open the "Shader Generation Params" tab, and tick "Grass" on, leaving "Leaves" ticked off. But play around with it.

Last edited by [HP]; 06-22-2012 at 05:56 AM..
Offline , dedicated polycounter, 1,826 Posts, Join Date Aug 2007, Location derp land  
   Reply With Quote

dregoloth's Avatar
Old (#3)
Thanks for the help [HP]. That works, but the problem is that I'm trying to give the grass a really painterly feel (think like this), so I have several very subtle transitions in the grass blades which don't carry over to well when using alpha test. Is Cryengine just not the engine I want to use to achieve something like this?
Offline , spline, 145 Posts, Join Date Mar 2010,  
   Reply With Quote

Olli.'s Avatar
Old (#4)
I dont think its possible to achieve gradient transparency on grass without getting overlap errors in cryengine.
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch