From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 36236] Problems with lights in Trine game from www.humblebundle.com
Date: Wed, 20 Apr 2011 02:59:12 -0700 (PDT) [thread overview]
Message-ID: <20110420095912.65E2313000C@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-36236-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=36236
--- Comment #21 from Turo Lamminen <turo@alternativegames.net> 2011-04-20 02:59:12 PDT ---
Try this:
Modify data/shader/cg/deferred_light_pixel.cg
On about line 75 in function getAmbientSample change this:
return lerp(half3(FOG_COLOR.xyz), result, deferredSample3.z);
to this:
return deferredSample1.xyz;
This dumps g-buffer 1 to screen. Likewise for other buffers.
g-buffers are as follows:
1 color. Should look pretty normal except for being completely fullbright
2 normals. Should be red-green-yellowish
3. light parameters. Should be mostly blue
If you want to see how this should look on a working driver you need to disable
lights. Easiest way to do this is to change function getPointlightSample around
line 460. Change
return result;
to
return half3(0.0);
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next prev parent reply other threads:[~2011-04-20 9:59 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-14 14:56 [Bug 36236] New: Problems with lights in Trine game from www.humblebundle.com bugzilla-daemon
2011-04-14 15:39 ` [Bug 36236] " bugzilla-daemon
2011-04-14 16:02 ` bugzilla-daemon
2011-04-14 20:28 ` bugzilla-daemon
2011-04-14 22:47 ` bugzilla-daemon
2011-04-15 10:24 ` bugzilla-daemon
2011-04-15 10:26 ` bugzilla-daemon
2011-04-15 10:29 ` bugzilla-daemon
2011-04-15 10:37 ` bugzilla-daemon
2011-04-15 12:56 ` bugzilla-daemon
2011-04-15 12:57 ` bugzilla-daemon
2011-04-15 13:19 ` bugzilla-daemon
2011-04-15 13:35 ` bugzilla-daemon
2011-04-15 14:06 ` bugzilla-daemon
2011-04-15 16:34 ` bugzilla-daemon
2011-04-16 14:02 ` bugzilla-daemon
2011-04-19 4:10 ` bugzilla-daemon
2011-04-19 9:59 ` bugzilla-daemon
2011-04-19 11:48 ` bugzilla-daemon
2011-04-19 11:48 ` bugzilla-daemon
2011-04-19 13:34 ` bugzilla-daemon
2011-04-20 9:59 ` bugzilla-daemon [this message]
2011-04-20 10:54 ` bugzilla-daemon
2011-04-20 10:54 ` bugzilla-daemon
2011-04-20 11:51 ` bugzilla-daemon
2011-04-20 12:08 ` bugzilla-daemon
2011-04-20 13:03 ` bugzilla-daemon
2011-04-20 15:48 ` bugzilla-daemon
2011-04-20 16:08 ` bugzilla-daemon
2011-04-20 16:19 ` bugzilla-daemon
2011-04-20 16:47 ` bugzilla-daemon
2011-04-20 16:58 ` bugzilla-daemon
2011-04-21 1:06 ` bugzilla-daemon
2011-04-24 1:25 ` bugzilla-daemon
2011-04-24 12:13 ` bugzilla-daemon
2011-04-24 12:21 ` bugzilla-daemon
2011-04-24 15:51 ` bugzilla-daemon
2011-04-24 16:48 ` bugzilla-daemon
2011-05-06 16:11 ` bugzilla-daemon
2011-05-07 14:59 ` bugzilla-daemon
2011-05-07 15:07 ` bugzilla-daemon
2011-05-08 14:09 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110420095912.65E2313000C@annarchy.freedesktop.org \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.