Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom light
#1
Hello, 
Is it possible to implement custom light source (with shaders)?
#2
You can create a custom Effect that uses your own shaders. See the "Advanced / CustomFogEffectSample" sample in the Common samples project. This sample also comes with FogEffect, FogEffectTechnique, FogEffectTechnique and shaders (in the Resources / Shaders folder).

Please check that sample and then try to implement your own effect. If you have any problems, please provide the source and describe what you want to do and I will try to help you.
Andrej Benedik
  


Forum Jump:


Users browsing this thread:
1 Guest(s)