Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by AndrewAMD. 08/27/26 15:28
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 7,491 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Cell-shading? #127890
05/03/07 21:28
05/03/07 21:28
Joined: Jul 2006
Posts: 91
Florida, USA
Knuckles Offline OP
Junior Member
Knuckles  Offline OP
Junior Member

Joined: Jul 2006
Posts: 91
Florida, USA
Hello. A friend was curious about the 3DGS engine and wants to know if it has the ability to do Cell-shading. Is this possible?

Re: Cell-shading? [Re: Knuckles] #127891
05/03/07 22:08
05/03/07 22:08
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Yes...

You can either "fake it" by copying the model, inverting the faces, and scaling it slightly larger.

OR, you can simply use a shader that does this for you, and even better. However, this requires Comm or Pro editions...


xXxGuitar511
- Programmer
Re: Cell-shading? [Re: xXxGuitar511] #127892
05/11/07 11:07
05/11/07 11:07
Joined: Apr 2007
Posts: 29
R
Raymaker Offline
Newbie
Raymaker  Offline
Newbie
R

Joined: Apr 2007
Posts: 29
hey Guitar , i didn't hear about that with render to texture (I guess: because it needs comm or pro).Can you tell me what effect it produces?
And what are the adventages?

Re: Cell-shading? [Re: Raymaker] #127893
05/11/07 21:06
05/11/07 21:06
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
You don't need render_to_texture

You simply use a two-pass shader. The first renders the model normally, and the second renders it:
- black
- reversed culling [inversed normals]
- slightly expanded


xXxGuitar511
- Programmer

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1