About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
[RESOLVED] Custom shader using default light model ?
Author Message
Drayan Offline
Member

Post: #1
[RESOLVED] Custom shader using default light model ?
Hello everyone,

I'm trying to use a custom shader for doing procedural texturing, the shader itself work, but lighting aren't done anymore.

Is there a way to re-enable the default light model with my custom shader ?
Or should I reimplement a light model in a custom shader ?

For information, my shader work at the RM_BLEND level, i'm using Dx10 version with RT_DEFERRED renderer. And I just compiled the shader in SM_4.

Thanks.

Drayan
(This post was last modified: 11-25-2012 10:34 PM by Drayan.)
11-23-2012 05:28 AM
Find all posts by this user Quote this message in a reply
Drayan Offline
Member

Post: #2
RE: Custom shader using default light model ?
It's seem that I resolve this myself ahah. By investigating the tutorial shader shipped with Esenthel, I have to write my shader for the RM_SOLID mode instead of the RM_BLEND.

(3th shader tutorial).

My apologies.
11-23-2012 07:18 PM
Find all posts by this user Quote this message in a reply
Post Reply