Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Quick question on effects

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Alpheus   GDNet+   

6877
Like
0Likes
Like

Posted 02 February 2011 - 01:26 PM

On page 62, this line: "effect.EnableDefaultLighting();" is this considered a "Technique" in XNA?
External Articulation of Concepts Materializes Innate Knowledge of One's Craft and Science
 
Beginner in Game Development? Read here. And read here.
 
Super Mario Bros clone tutorial written in XNA 4.0 [MonoGame, ANX, and MonoXNA] by Scott Haley
 
If you have found any of the posts helpful, please show your appreciation by clicking the up arrow on those posts Posted Image
 
Spoiler

#2 Dace   Members   

100
Like
0Likes
Like

Posted 03 February 2011 - 11:33 PM

I don't think it is a technique, in the sense that we have to loop through the basic effect techniques and apply each one.

According to this link Standard Lighting Rig

When calling effect.EnableDefaultLighting(); a number of default positioned lights are added to the effect so that the model it is applied to gets lit in a nice way, with a back light, fill light, and a key light.

I came across this link BasicEffect Lighting also which shows how you can play around with the values of the default lights in the BasicEffect and change positions and colors etc.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.