About Me

Hi. I'm Josh Ols. Lead Graphics Developer for RUST LTD.

Contact:
crunchy.bytes.blog[at]gmail[dot]com

View Joshua Ols's profile on LinkedIn

Meta
« Update (2-13-2012) | Main | RSRM Enhancements »
Saturday
Aug272011

Dice Poker Game (CANCELLED)

[Unity3D, RSRM] Dice Poker prototype

Unity3D Web Demo

Art and game behavior courtesy of Anton Hand.

 

Instructions:

Click ring to drop dice in box.

Click chips around box to chuck chips in center.

Click button in upper left to reset ring.

 

UPDATE:

This demo will only work for SM3.0 level GPUs. If you attempt to use it on an earlier generation GPU, you will just see black on all the geometry that is using the RSRM shader.

 

Situation:

If you were wondering why I haven't posted much lately then please allow me to fill you in on the details. Recently, I tried getting my Physically-Based Rendering (PBR) tech into Unity3D, with surprising success. Having gotten this working in a prototype, my artist friend set out to build a game using this new tech. Sadly, the project encountered some complications, and ultimately had to be cancelled.

 

Despite this, the prototype is in a state where the basic functionality is working. So I have decided to re-purpose it as a tech demo, which you can access via the above link. Please check it out and leave some feedback about the visuals in the comments section. ;)

 

Results:

The prototype shader used for this demo was single-pass forward rendered using two fake directional lights and a Radially Symmetric Reflection Map (RSRM). The scene itself also has SSAO, Bloom, and FXAA just to top it off.

 

The results are slightly incorrect due to my misunderstanding of the need to plug the BRDFs into the Punctual Light Equation and cancel some terms out. As a result, the specular ended up too bright, and fresnel for RSRM gives too much rim for rough surfaces. So while it is significantly better than the current standard of Phong & Blinn Phong lighting models, it still falls short of what I wanted to achieve.

 

Currently, I am working on an improved version that will correctly integrate with Unity3D's forward multipass lighting system. It will correctly accumulate the lighting in an FP16 target in linear space, then receive tonemapping before being passed to the rest of the pipeline. I will also being improving upon the built-in Bloom, SSAO, and Depth of Field effects to really sell the effect.

 

Keep your eyes peeled for future updates! ;)

 

Other Updates:

Other than this, I am currently working on a revised RSRM article, to centralize all I have learned in an easy to reference article. It will also detail the PBR BRDF I have chosen for my project, including strengths and weaknesses. Finally, this will provide a good opportunity for me to clear up some incomplete and flat out wrong information from my old articles.

 

Other than that, I've also made a small update to my Partial Derivative Normal Map (PDN) article. Basically, I found an optimization to use a MADD to save an assignment, shaving off another instruction from the recovery equations.

 

Hope you will find them useful. :)

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (8)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    855 You will want 9 darkish strips and eight white strips to the weave. The sole continuous that continues to be inside our kid's life, year in, 12 months out, totally louis vuitton seems to always be their essentially phobic distaste for strolling.
  • Response
    Response: long beach seo
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Response: agen sbobet
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Response: this website
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)
  • Response
    Crunchy Bytes - Journal - Dice Poker Game (CANCELLED)

Reader Comments (9)

I don't buy the algerithm what is called Physically-Based Rendering.But from any of results they achieved didn't look photoreal.They are like chalk and cheese comparing those real Physically-Based Rendering-Maxwell.
August 29, 2011 | Unregistered CommenterSpencer
That's why they call it "Physically-Based Rendering" and not "Photorealistic Rendering". The point is that it is a substantial improvement over the traditional ad-hoc lighting systems that still runs in realtime. If your standard of quality is offline rendering, then you will be perpetually unsatisfied with realtime rendering.
August 29, 2011 | Registered Commentern00body
Aka,Maxwell and other engines like Octane,Fryrender,Luxrender are all called themself as "physically based rendering engine",not the one you named here""Photorealistic Rendering".
August 30, 2011 | Unregistered CommenterSpencer
Hi there,

Looks like an interesting article, thank you for posting it! However, I couldn't have a look at the webplayer. Getting a HTTP /404 on the dropbox link. Would appreciate it if you could share a live link to the same :)

-Dev
October 30, 2011 | Unregistered CommenterDev
Kay, it should be working now. Please let me know if you have any problems with the new link.

Hope you enjoy the demo. ;)
October 31, 2011 | Registered Commentern00body
Hello,

I tried the webplayer on a couple of machines with the latest Unity3D plugin. I was only able to see a black quad with a white circle on a blurry background. Nothing else. http://img59.imageshack.us/img59/6934/webplayer.png

The last machine I tested this on has a (dated) ATI 9700 GPU with 64 MB Vram capable of Shader Model 2. Is this machine not meeting the minimum spec for the demo?
November 13, 2011 | Unregistered CommenterDev
It didn't occur to me to mention it, but yes this demo only works for SM 3.0 and up.

My apologies. :(
November 13, 2011 | Registered Commentern00body
@mahjong : Is that all zen speak, cause I got none of it :).
December 1, 2011 | Unregistered CommenterDev
@n00body : Sorry for the late reply. I was able to see the webplayer in action on a SM3 capable machine. Looks very good sir, well done!
December 1, 2011 | Unregistered CommenterDev

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.